1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-23 02:36:04 +02:00

introduced new class constants

This commit is contained in:
David Grudl
2008-10-10 01:35:33 +00:00
parent b0f155f767
commit ae77148773
4 changed files with 19 additions and 12 deletions

View File

@@ -297,7 +297,7 @@ abstract class DibiTable extends DibiObject
$row = $this->blankRow;
$row[$this->primary] = NULL;
if ($class = $this->connection->getConfig('resultObjects')) {
if ($class = $this->connection->getConfig(dibi::RESULT_OBJECTS)) {
if ($class === TRUE) {
$row = (object) $row;
} else {