]> source.dussan.org Git - nextcloud-server.git/commitdiff
Initialize collectionTypes variable as false
authorMichael Gapczynski <mtgap@owncloud.com>
Mon, 8 Apr 2013 21:46:52 +0000 (17:46 -0400)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 17 May 2013 13:29:38 +0000 (15:29 +0200)
lib/public/share.php

index 8b8a41d47c0f21121b82e97ec02bf3c1d3627c46..092f83e96db13bc99655d6d2ab60a342be72c117 100644 (file)
@@ -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') {