From b817008f3a1ea7e5682be683708b1ae0fb705d0d Mon Sep 17 00:00:00 2001 From: pzinovkin Date: Sat, 27 Mar 2010 00:01:27 +0000 Subject: [PATCH] set variable, #8 git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@137 4cb57b5f-5bbd-dd11-951b-001d605cbbc5 --- model/DbStatement.php | 1 + 1 file changed, 1 insertion(+) diff --git a/model/DbStatement.php b/model/DbStatement.php index d5a3200..adf4b08 100644 --- a/model/DbStatement.php +++ b/model/DbStatement.php @@ -153,6 +153,7 @@ abstract class DbStatement public function fetchPairs() { + $data = array(); while ($row = $this->fetch(Db::FETCH_NUM)) { $data[$row[0]] = $row[1]; }