mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
DibiResult: fixed illegal offset type in fetchPairs.
This commit is contained in:
@@ -475,7 +475,7 @@ class DibiResult extends DibiObject implements IDataSource
|
|||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
$data[ $row[$key] ] = $row[$value];
|
$data[ (string) $row[$key] ] = $row[$value];
|
||||||
} while ($row = $this->fetch());
|
} while ($row = $this->fetch());
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
|
Reference in New Issue
Block a user