use correct variable: $folder instead of $folderId
[tine20] / tine20 / Felamimail / Frontend / ActiveSync.php
index c274990..66836e2 100644 (file)
@@ -769,7 +769,7 @@ class Felamimail_Frontend_ActiveSync extends ActiveSync_Frontend_Abstract implem
      */
     public function updateFolder(Syncroton_Model_IFolder $folder)
     {
      */
     public function updateFolder(Syncroton_Model_IFolder $folder)
     {
-        if (strpos($folderId, $this->_fakePrefix) === 0) {
+        if (strpos($folder->serverId, $this->_fakePrefix) === 0) {
             return $folder;
         }
         
             return $folder;
         }