Commit a6381c1e authored by skummer's avatar skummer

ZP-177

- fixed: try to access importer only if it is available

git-svn-id: https://z-push.org/svn/z-push/trunk@1383 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 847979a9
......@@ -240,7 +240,8 @@ class FolderChange extends RequestProcessor {
self::$topCollector->AnnounceInformation(sprintf("Operation status %d", $status), true);
// Save the sync state for the next time
self::$deviceManager->GetStateManager()->SetSyncState($newsynckey, $importer->GetState());
if (isset($importer))
self::$deviceManager->GetStateManager()->SetSyncState($newsynckey, $importer->GetState());
return true;
}
......
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