eee
This commit is contained in:
+1
-1
@@ -699,7 +699,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
||||
|
||||
$method = $prefix . 'Attribute';
|
||||
if (method_exists($this, $method)) {
|
||||
$this->_attributes[$name] = $this->{$method} ($value);
|
||||
$this->_attributes[$name] = $this->{$method}($value);
|
||||
} else {
|
||||
$this->_attributes[$name] = $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user