diff --git a/lib/Widget/Db/Record.php b/lib/Widget/Db/Record.php
index <HASH>..<HASH> 100644
--- a/lib/Widget/Db/Record.php
+++ b/lib/Widget/Db/Record.php
@@ -127,7 +127,7 @@ class Record extends Base
     public function fromArray($data)
     {
         foreach ($data as $key => $value) {
-            $this->$key = $value;
+            $this->__set($key, $value);
         }
         return $this;
     }
fixed create active record error when key name is class property name