Task #0001736: PHP7 comptability : count() works only with array

This commit is contained in:
Dany De Bontridder 2019-08-27 12:04:48 +02:00
parent e47cc77db7
commit 654edc4f0d

View file

@ -59,6 +59,7 @@ class Anc_Plan
"pa_description as description from plan_analytique $p_order";
$ret=$this->db->exec_sql($sql);
$array=Database::fetch_all($ret);
if ($array == FALSE ) return array();
return $array;
}