1
0
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:
Rossler Jan
2013-09-30 00:30:09 +02:00
committed by David Grudl
parent f348828223
commit 1b38d13422

View File

@@ -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;