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]; }