Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/ajax
diff options
context:
space:
mode:
authorLeonardo Diez <leio10@users.noreply.github.com>2016-02-12 21:26:54 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-18 13:22:28 +0300
commit04b5956fc8027f2674d3a5cf4b42cb84cf0713ae (patch)
tree9fb4bdac870950ba98369c3e4a0f4037237f814c /core/ajax
parent73d46afc3c5ef237cc8a5431aa1bef4686a7521b (diff)
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];
}
}