From 3b47f08c675005642e7b6ede8632f52f160c33e1 Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Fri, 23 Oct 2015 12:30:21 -0400 Subject: [PATCH] Only mark picture as ghosted if it's NOT sent in the request. --- framework/ActiveSync/lib/Horde/ActiveSync/Message/Contact.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Contact.php b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Contact.php index 80e5dda632f..a162ea48a2d 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Contact.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Contact.php @@ -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;