mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
DibiPostgreDriver: getTables() returns always array
This commit is contained in:
@@ -426,7 +426,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
|
|||||||
");
|
");
|
||||||
$res = pg_fetch_all($this->resultSet);
|
$res = pg_fetch_all($this->resultSet);
|
||||||
$this->free();
|
$this->free();
|
||||||
return $res;
|
return $res ? $res : array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user