From: Michael J. Rubinsky Date: Mon, 5 Apr 2010 21:37:01 +0000 (-0400) Subject: Don't throw an exception here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=81a2584153d79b09a85eb303cc077d5ba35961f9;p=horde.git Don't throw an exception here. This might be an end tag instead of content...some clients seem to send tag pairs even when there is no content...this allows them to continue working withoug throwing fatal errors --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Base.php b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Base.php index d89a5f048..14c2de9b0 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Base.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Base.php @@ -197,7 +197,7 @@ class Horde_ActiveSync_Message_Base $decoded = $decoder->getElementContent(); if ($decoded === false) { $this->_logError('Unable to get content for ' . $entity[Horde_ActiveSync_Wbxml::EN_TAG]); - throw new Horde_ActiveSync_Exception('Unknown parsing error.'); + //throw new Horde_ActiveSync_Exception('Unknown parsing error.'); } if (!$decoder->getElementEndTag()) {