Commit 2e99fc64 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #221 in ZP/z-push from...

Merge pull request #221 in ZP/z-push from bugfix/ZP-918-koe-gab-folder-being-added-when-it to develop

* commit 'd8d62d1a':
  ZP-918 Only add GAB folder if it's found.
parents 77e8eee8 d8d62d1a
...@@ -515,7 +515,9 @@ class DeviceManager { ...@@ -515,7 +515,9 @@ class DeviceManager {
$this->device->SetKoeGabBackendFolderId($backendGabId); $this->device->SetKoeGabBackendFolderId($backendGabId);
} }
$folders[$backendGabId] = $this->getAdditionalSyncFolder(KOE_GAB_STORE, $backendGabId, KOE_GAB_NAME, SYNC_FOLDER_TYPE_USER_APPOINTMENT, true, DeviceManager::FLD_ORIGIN_GAB); if ($backendGabId) {
$folders[$backendGabId] = $this->getAdditionalSyncFolder(KOE_GAB_STORE, $backendGabId, KOE_GAB_NAME, SYNC_FOLDER_TYPE_USER_APPOINTMENT, true, DeviceManager::FLD_ORIGIN_GAB);
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment