From: Michael J. Rubinsky Date: Wed, 31 Mar 2010 18:47:09 +0000 (-0400) Subject: oops - device info is a stdClass, not an array X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5bb5d16b395722342736ad6744f250e5f7703d87;p=horde.git oops - device info is a stdClass, not an array --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php index bdeb277a8..dcf031b12 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php @@ -542,7 +542,7 @@ class Horde_ActiveSync_State_File extends Horde_ActiveSync_State_Base public function getDeviceRWStatus($devId) { $info = $this->getDeviceInfo($devId); - return $info['rwstatus']; + return $info->rwstatus; } /** @@ -556,7 +556,7 @@ class Horde_ActiveSync_State_File extends Horde_ActiveSync_State_Base public function setDeviceRWStatus($devId, $status) { $info = $this->getDeviceInfo($devId); - $info['rwstatus'] = $status; + $info->rwstatus = $status; $this->setDeviceInfo($devId, $info); }