From 04b5956fc8027f2674d3a5cf4b42cb84cf0713ae Mon Sep 17 00:00:00 2001 From: Leonardo Diez Date: Fri, 12 Feb 2016 19:26:54 +0100 Subject: Fix on shared groups assignment. --- core/ajax/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ajax/share.php b/core/ajax/share.php index 987b637cc97..93a7e911c42 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -254,7 +254,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo if (isset($_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP]) && is_array($_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP])) { - $sharedGroups = isset($_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP]); + $sharedGroups = $_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP]; } } -- cgit v1.2.3