1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-11 08:34:59 +02:00

DibiResult: fixed bug in new-syntax fetchAssoc()

This commit is contained in:
David Grudl
2009-12-09 02:34:58 +01:00
parent 75ede18f94
commit f6d4107116

View File

@@ -340,7 +340,7 @@ class DibiResult extends DibiObject implements IDataSource
} elseif ($as === '=') { // "value" node } elseif ($as === '=') { // "value" node
$x = $row->{$assoc[$i+1]}; $x = $row->{$assoc[$i+1]};
break; continue 2;
} elseif ($as === '->') { // "object" node } elseif ($as === '->') { // "object" node
if ($x === NULL) { if ($x === NULL) {