mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 23:09:10 +08:00
Merge branch 'master' of github.com:yiisoft/yii2
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