From 0884cd4007c9d46dbdf44b45f081594188dd41ea 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 de5e876a..b43ebb86 100644 --- a/dibi/libs/DibiResult.php +++ b/dibi/libs/DibiResult.php @@ -486,7 +486,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;