From 39f2888f6be15082410117081e67bb2198d4d764 Mon Sep 17 00:00:00 2001 From: evgen-d Date: Mon, 4 Aug 2014 11:15:56 +0400 Subject: [PATCH] fix default values --- ActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActiveRecord.php b/ActiveRecord.php index f52c3a5..5a15646 100644 --- a/ActiveRecord.php +++ b/ActiveRecord.php @@ -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()