summaryrefslogtreecommitdiff
path: root/app/php/db/ActiveRecord.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-14 17:18:24 +0200
committeremkael <emkael@tlen.pl>2016-04-14 17:18:24 +0200
commit1c5d3829b9e7f499da8aadf88fdbcc4301ea57ac (patch)
treec375220047d4680d2c5cb2b94ef7ba265f3e038a /app/php/db/ActiveRecord.php
parent2c04baeb2beebb06a97da16fbd62c2a4747e9ff2 (diff)
* simplified property mapping in getter/setter for active records
Diffstat (limited to 'app/php/db/ActiveRecord.php')
-rw-r--r--app/php/db/ActiveRecord.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}