Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for #384. Check relationships in Entity::_isset().

  • Loading branch information...
commit 1a0af0e5578c6e7c11470fa50c342f331a3df491 1 parent 59dd4af
Marc Ghorayeb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  data/Entity.php
View
2  data/Entity.php
@@ -173,7 +173,7 @@ public function __set($name, $value = null) {
* @return mixed Result.
*/
public function __isset($name) {
- return isset($this->_updated[$name]);
+ return isset($this->_updated[$name]) || isset($this->_relationships[$name]);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.