summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorLeonardo Diez <leio10@users.noreply.github.com>2016-02-12 19:26:54 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-18 11:22:28 +0100
commit04b5956fc8027f2674d3a5cf4b42cb84cf0713ae (patch)
tree9fb4bdac870950ba98369c3e4a0f4037237f814c /core/ajax
parent73d46afc3c5ef237cc8a5431aa1bef4686a7521b (diff)
downloadnextcloud-server-04b5956fc8027f2674d3a5cf4b42cb84cf0713ae.tar.gz
nextcloud-server-04b5956fc8027f2674d3a5cf4b42cb84cf0713ae.zip
Fix on shared groups assignment.
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
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];
}
}