Commit dc2843a2 by Qiang Xue

Fixes #622.

parent 39f6e001
......@@ -594,7 +594,7 @@ class ActiveRecord extends Model
if (isset($this->_attributes[$name], $this->_oldAttributes[$name])) {
return $this->_attributes[$name] !== $this->_oldAttributes[$name];
} else {
return isset($this->_attributes[$name]) || isset($this->_oldAttributes);
return isset($this->_attributes[$name]) || isset($this->_oldAttributes[$name]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment