1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 22:26:43 +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 acc6ecb0d2
commit 0884cd4007

View File

@@ -486,7 +486,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;