Permalink
Browse files

bugfix

  • Loading branch information...
1 parent ec08a27 commit 1a8eba0d5ce1d7006c7fa99b444f3f97cf12fa25 @giveit-deploy giveit-deploy committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Entity.php
View
@@ -20,7 +20,7 @@ static function __set_state(array $data) {
$entity = new Entity;
foreach($data as $key => $val) {
- $entity->key = $val;
+ $entity->$key = $val;
}
return $entity;

0 comments on commit 1a8eba0

Please sign in to comment.