noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/73: comptability version 7.4 warning null


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/73: comptability version 7.4 warning null is not a countable
Date: Fri, 28 May 2021 05:26:14 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit a4fdc4dbce793548ceb04993a489c74bc59ea753
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Apr 5 11:26:13 2021 +0200

    comptability version 7.4
    warning null is not a countable
---
 include/template/dashboard.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/template/dashboard.php b/include/template/dashboard.php
index eda18ed..c1ecb32 100644
--- a/include/template/dashboard.php
+++ b/include/template/dashboard.php
@@ -158,7 +158,7 @@ if ( $report != 0 ) : ?>
 
     $result=$rapport->get_row($limit['start'],$limit['end'],'periode');
     $ix=0;
-    if ( count ($result) >  0)
+    if ( !empty ($result ) && count ($result) >  0)
     {
         echo '<table border="0" width="100%">';
         foreach ($result as $row) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]