Commit 094bb900 authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

/me facepalms for the amount of needed releases for this

parent 78dab250
......@@ -166,7 +166,7 @@ class TypedEntity implements TypedEntityInterface {
*/
public function __get($property_name) {
$entity = $this->getEntity();
return empty($entity->{$property_name}) ? NULL : $entity->{$property_name};
return isset($entity->{$property_name}) ? $entity->{$property_name} : NULL;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment