eee
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
|||||||
if ($generate === false) {
|
if ($generate === false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!$this->getConnection()->createCommand($generate, $query->attributes)->save()) {
|
if (!$this->getConnection()->createCommand($generate, $query->params)->save()) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
return $this->refresh()->afterSave($old, $change);
|
return $this->refresh()->afterSave($old, $change);
|
||||||
|
|||||||
Reference in New Issue
Block a user