Skip to content

Commit

Permalink
Only mark picture as ghosted if it's NOT sent in the request.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 23, 2015
1 parent 86162fa commit 3b47f08
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -450,6 +450,7 @@ public function isGhosted($property)
{
$isGhosted = parent::isGhosted($property);
if (!$isGhosted &&
empty($this->_exists[$property]) &&
$property == $this->_mapping[self::PICTURE][self::KEY_ATTRIBUTE] &&
$this->_device->hasQuirk(Horde_ActiveSync_Device::QUIRK_NEEDS_SUPPORTED_PICTURE_TAG)) {
return true;
Expand Down

0 comments on commit 3b47f08

Please sign in to comment.