改名
This commit is contained in:
@@ -124,7 +124,7 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
}
|
}
|
||||||
$select = new static();
|
$select = new static();
|
||||||
$select->attributes = $attributes;
|
$select->attributes = $attributes;
|
||||||
if ($select->save()) {
|
if (!$select->save()) {
|
||||||
throw new Exception($select->getLastError());
|
throw new Exception($select->getLastError());
|
||||||
}
|
}
|
||||||
return $select;
|
return $select;
|
||||||
|
|||||||
Reference in New Issue
Block a user