From: Michael J. Rubinsky Date: Thu, 8 Apr 2010 19:50:30 +0000 (-0400) Subject: Need to define this variable even if we are wiping X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=068c5c0713b516e2034c07d488f85d6b36802acc;p=horde.git Need to define this variable even if we are wiping --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Request/Provision.php b/framework/ActiveSync/lib/Horde/ActiveSync/Request/Provision.php index 0e777788a..45c6be1d5 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Request/Provision.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Request/Provision.php @@ -84,6 +84,8 @@ class Horde_ActiveSync_Request_Provision extends Horde_ActiveSync_Request_Base !$this->_decoder->getElementEndTag()) { return $this->_globalError(self::STATUS_PROTERROR); } + /* Need to send *something* in the policytype field even if wiping */ + $policytype = self::POLICYTYPE_XML; } else { if (!$this->_decoder->getElementStartTag(SYNC_PROVISION_POLICIES) || !$this->_decoder->getElementStartTag(SYNC_PROVISION_POLICY) ||