From: Michael Gapczynski Date: Mon, 8 Apr 2013 21:46:52 +0000 (-0400) Subject: Initialize collectionTypes variable as false X-Git-Tag: v5.0.7~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1284179589c53d4bf0cf545f7435184800b1be14;p=nextcloud-server.git Initialize collectionTypes variable as false --- diff --git a/lib/public/share.php b/lib/public/share.php index 8b8a41d47c0..092f83e96db 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') {