fix default values

This commit is contained in:
evgen-d 2014-08-04 11:15:56 +04:00
parent 57c88fdc66
commit 39f2888f6b

View File

@ -430,7 +430,7 @@ abstract class ActiveRecord extends BaseActiveRecord
public function init() public function init()
{ {
parent::init(); parent::init();
$this->setAttributes($this->defaultValues()); $this->setAttributes($this->defaultValues(), false);
} }
public function defaultValues() public function defaultValues()