From: Michael Gapczynski Date: Mon, 8 Apr 2013 21:46:52 +0000 (-0400) Subject: Initialize collectionTypes variable as false X-Git-Tag: v6.0.0alpha2~926^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d51a94161ed0f0be430f04bb4df7f9eac7ff6bb0;p=nextcloud-server.git Initialize collectionTypes variable as false --- diff --git a/lib/public/share.php b/lib/public/share.php index 9ceec06ab93..4b337530be8 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -661,6 +661,7 @@ class Share { } } $backend = self::getBackend($itemType); + $collectionTypes = false; // Get filesystem root to add it to the file target and remove from the // file source, match file_source with the file cache if ($itemType == 'file' || $itemType == 'folder') {