Bug : Database::fetch_all returns an array or FALSE, because

of pg_fetch_all, the version PHP7 cannot use anymore a boolean with
count().
This commit is contained in:
Dany De Bontridder 2019-08-24 12:05:49 +02:00
parent 7a41f9b301
commit 5aab6a0502
14 changed files with 41 additions and 33 deletions

View file

@ -728,7 +728,7 @@ class DatabaseCore
/**\brief wrapper for the function pg_fetch_all
* \param $ret is the result of pg_exec (exec_sql)
* \return double array (row x col )
* \return double array (row x col ) or false
*/
static function fetch_all($ret)