mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 21:58:10 +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 {
|
||||
$data[ $row[$key] ] = $row[$value];
|
||||
$data[ (string) $row[$key] ] = $row[$value];
|
||||
} while ($row = $this->fetch());
|
||||
|
||||
return $data;
|
||||
|
Reference in New Issue
Block a user