Commit 55bc51a9 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1270 Fixed warning when parentid is not set.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 2b307e63
...@@ -177,7 +177,7 @@ class WebserviceDevice { ...@@ -177,7 +177,7 @@ class WebserviceDevice {
$folderObject = new stdClass(); $folderObject = new stdClass();
$folderObject->store = $folder['store']; $folderObject->store = $folder['store'];
$folderObject->folderid = $folder['folderid']; $folderObject->folderid = $folder['folderid'];
$folderObject->parentid = $folder['parentid']; $folderObject->parentid = (isset($folder['parentid']))?$folder['parentid']:"0";
$folderObject->syncfolderid = $folder['syncfolderid']; $folderObject->syncfolderid = $folder['syncfolderid'];
$folderObject->name = $folder['name']; $folderObject->name = $folder['name'];
$folderObject->type = $folder['type']; $folderObject->type = $folder['type'];
......
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