set variable, #8
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@137 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -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];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user