Browse Source

set variable, #8

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@137 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
pzinovkin 15 years ago
parent
commit
b817008f3a
  1. 1
      model/DbStatement.php

1
model/DbStatement.php

@ -153,6 +153,7 @@ abstract class DbStatement
public function fetchPairs() public function fetchPairs()
{ {
$data = array();
while ($row = $this->fetch(Db::FETCH_NUM)) { while ($row = $this->fetch(Db::FETCH_NUM)) {
$data[$row[0]] = $row[1]; $data[$row[0]] = $row[1];
} }

Loading…
Cancel
Save