Skip to content
Browse files

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

  • Loading branch information...
1 parent 59dd4af commit 1a0af0e5578c6e7c11470fa50c342f331a3df491 Marc Ghorayeb committed Mar 20, 2012
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]);
}
/**

0 comments on commit 1a0af0e

Please sign in to comment.
Something went wrong with that request. Please try again.