Browse Source

Fix in SqlResultProvider.getKeys().

namespace
Alexander Demidov 11 years ago
parent
commit
2cb51015e6
  1. 5
      model/SqlResultProvider.php

5
model/SqlResultProvider.php

@ -72,7 +72,8 @@ class SqlResultProvider
public function getKeys() 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(); return $this->result->affectedRows();
} }
}
}
Loading…
Cancel
Save