noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 41/173: PHP 7.2 incomptability : sizeof of no


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 41/173: PHP 7.2 incomptability : sizeof of not array
Date: Mon, 22 Mar 2021 12:58:35 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 46b4cdf0aac472f5ebe355e34077460d1181a3c5
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Jan 12 13:40:12 2019 +0100

    PHP 7.2 incomptability : sizeof of not array
---
 include/class/follow_up.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/follow_up.class.php 
b/include/class/follow_up.class.php
index 471b7eb..39d9a00 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -769,7 +769,7 @@ class Follow_Up
 
 
         // if there are no records return a message
-        if (sizeof($a_row)==0 or $a_row==false)
+        if ($a_row==false || sizeof($a_row)==0 )
         {
             $r='<div style="clear:both">';
             $r.='<hr>Aucun enregistrement trouvé';



reply via email to

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