mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 15:31:06 +08:00
* Fixed Model::loadMultiple() when populating from formName()
* Documentation corrections for data population and quoting names in SQL query
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user