Now the bugfix really should work

This commit is contained in:
Michael 2017-08-14 20:58:02 +00:00
parent 2d99e86b12
commit 4f6f47f714
3 changed files with 10 additions and 4 deletions

View file

@ -1338,6 +1338,10 @@ class dba {
* @return array Data array
*/
static public function inArray($stmt, $do_close = true) {
if (is_bool($stmt)) {
return $stmt;
}
$data = array();
while ($row = self::fetch($stmt)) {
$data[] = $row;