[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: comptability version 7.4 warning null
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: comptability version 7.4 warning null is not a countable |
Date: |
Mon, 5 Apr 2021 06:45:57 -0400 (EDT) |
sparkyx pushed a commit to tag rel8104
in repository noalyss.
commit 8d6c9deeb7b12c078aff4576218bc76590016a06
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) {