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
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-22 12:45:30 +0300
commit0f2010d8c3eff24aca5b761612ba423e5cdc06ad (patch)
tree154c6e6197fcb307d0bd4558e7602debb123be0e /core
parenta4668fdaf6ad8b32e7b75f9c9d6a479d17350efe (diff)
Fix on shared groups assignment.
Diffstat (limited to 'core')
-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 d3703a95beb..1c8815ab07e 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -285,7 +285,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];
}
}