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:
parent
7a41f9b301
commit
5aab6a0502
14 changed files with 41 additions and 33 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue