From 1c5d3829b9e7f499da8aadf88fdbcc4301ea57ac Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 14 Apr 2016 17:18:24 +0200 Subject: * simplified property mapping in getter/setter for active records --- app/php/db/ActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/php/db/ActiveRecord.php') diff --git a/app/php/db/ActiveRecord.php b/app/php/db/ActiveRecord.php index f5d06a3..49e862c 100644 --- a/app/php/db/ActiveRecord.php +++ b/app/php/db/ActiveRecord.php @@ -22,7 +22,7 @@ class ActiveRecord extends TActiveRecord { if (property_exists($this, $name)) { return $this->$name = $value; } - return parent::__set($this->_getMappedPropertyName($name), $value); + return parent::__set($name, $value); } } -- cgit v1.2.3