PHP 7.2 incomptability : sizeof of not array

This commit is contained in:
Dany De Bontridder 2019-01-12 13:40:12 +01:00
parent 57bb44c85f
commit 46b4cdf0aa

View file

@ -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é';