From 46b4cdf0aac472f5ebe355e34077460d1181a3c5 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 12 Jan 2019 13:40:12 +0100 Subject: [PATCH] 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 471b7ebd0..39d9a004f 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='
'; $r.='
Aucun enregistrement trouvé';