From 2cb51015e6e0a247ad08ebc46ec25a644582fc23 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Tue, 11 Mar 2014 15:44:20 +0400 Subject: [PATCH] Fix in SqlResultProvider.getKeys(). --- model/SqlResultProvider.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model/SqlResultProvider.php b/model/SqlResultProvider.php index cae4e77..4fd28b3 100644 --- a/model/SqlResultProvider.php +++ b/model/SqlResultProvider.php @@ -72,7 +72,8 @@ class SqlResultProvider public function getKeys() { - return array_keys($this->result); + $this->defineResultItems(); + return array_keys($this->result_items); } /** @@ -112,4 +113,4 @@ class SqlResultProvider { return $this->result->affectedRows(); } -} \ No newline at end of file +}