From d51a94161ed0f0be430f04bb4df7f9eac7ff6bb0 Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Mon, 8 Apr 2013 17:46:52 -0400
Subject: [PATCH] Initialize collectionTypes variable as false

---
 lib/public/share.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/public/share.php b/lib/public/share.php
index 9ceec06ab9..4b337530be 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') {
-- 
GitLab