1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 05:37:39 +02:00

DibiPostgreDriver: getTables() returns always array

This commit is contained in:
David Grudl
2010-01-23 08:00:52 +01:00
parent b8600ee704
commit e035c13437

View File

@@ -426,7 +426,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
");
$res = pg_fetch_all($this->resultSet);
$this->free();
return $res;
return $res ? $res : array();
}