fix default values
This commit is contained in:
parent
57c88fdc66
commit
39f2888f6b
|
@ -430,7 +430,7 @@ abstract class ActiveRecord extends BaseActiveRecord
|
|||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
$this->setAttributes($this->defaultValues());
|
||||
$this->setAttributes($this->defaultValues(), false);
|
||||
}
|
||||
|
||||
public function defaultValues()
|
||||
|
|
Loading…
Reference in New Issue