Browse Source

Merge branch 'sql_criteria' into namespace

Conflicts:
	Model/SqlResultProvider.php
namespace
Alexander Demidov 10 years ago
parent
commit
66d342272d
  1. 2
      Model/SqlResultProvider.php

2
Model/SqlResultProvider.php

@ -49,7 +49,7 @@ class SqlResultProvider implements iSqlResultItems
$this->defineResultItems();
$result_items_assoc = array();
foreach ($this->result_items_base as $item) {
if (!isset($item->{$field})) {
if (!property_exists($item, $field)) {
throw new \ErrorException('Undefined field. ' . $field);
}
if ($assoc_as_array) {

Loading…
Cancel
Save