From 1b38d13422ead91d2b9008f1ede1f5998b4fdf8d Mon Sep 17 00:00:00 2001 From: Rossler Jan Date: Mon, 30 Sep 2013 00:30:09 +0200 Subject: [PATCH] DibiResult: fixed illegal offset type in fetchPairs. --- dibi/libs/DibiResult.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dibi/libs/DibiResult.php b/dibi/libs/DibiResult.php index f16d6b77..8683f009 100644 --- a/dibi/libs/DibiResult.php +++ b/dibi/libs/DibiResult.php @@ -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;