* Fixed Model::loadMultiple() when populating from formName()

* Documentation corrections for data population and quoting names in SQL query
This commit is contained in:
Sw3rtas
2013-07-03 23:02:32 +03:00
parent 223e259ba7
commit ab27d16efd
3 changed files with 23 additions and 15 deletions

View File

@@ -694,7 +694,7 @@ class Model extends Component implements \IteratorAggregate, \ArrayAccess
$success = true;
}
} elseif (isset($data[$scope][$i])) {
$model->setAttributes($data[$scope[$i]]);
$model->setAttributes($data[$scope][$i]);
$success = true;
}
}