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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user