[Pkg-owncloud-commits] [owncloud] 297/394: Backport #1234 by @MTGap

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:34 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 543db100d3f1ec775294eb87d7d674152d718bce
Author: Thomas Tanghus <thomas at tanghus.net>
Date:   Mon Jan 21 00:15:45 2013 +0100

    Backport #1234 by @MTGap
---
 lib/public/share.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/public/share.php b/lib/public/share.php
index 8dcf0c5..7d04a3a 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -539,7 +539,7 @@ class Share {
 				$collectionTypes[] = $type;
 			}
 		}
-		if (!self::getBackend($itemType) instanceof Share_Backend_Collection) {
+		if (!self::getBackend($itemType) instanceof Share_Backend_Collection || $itemType != 'folder') {
 			unset($collectionTypes[0]);
 		}
 		// Return array if collections were found or the item type is a collection itself - collections can be inside collections

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list