Skip to content

Commit

Permalink
Property isn't ghosted when it's present in the request.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 30, 2016
1 parent b672c4d commit b2a6867
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -954,15 +954,16 @@ public function getCategories()

/**
* Override parent class' method. In EAS 16.0, top level appointment
* properties are ALWAYS ghosted.
* properties are ALWAYS ghosted if they are not explicitly sent.
*
* @param string $property The property to check
*
* @return boolean
*/
public function isGhosted($property)
{
if ($this->_version >= Horde_ActiveSync::VERSION_SIXTEEN) {
if ($this->_version >= Horde_ActiveSync::VERSION_SIXTEEN &&
empty($this->_exists[$property])) {
return true;
}
return parent::isGhosted($property);
Expand Down

0 comments on commit b2a6867

Please sign in to comment.