Task #0001736: PHP7 comptability : count() works only with array
This commit is contained in:
parent
e47cc77db7
commit
654edc4f0d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue