summaryrefslogtreecommitdiffstats
path: root/core/ajax/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/ajax/share.php')
-rw-r--r--core/ajax/share.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index dbad8f2e971..7dd89deb8e5 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -305,8 +305,9 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
&& $uid != OC_User::getUser()) {
$shareWith[] = array(
'label' => $displayName,
- 'value' => array('shareType' => OCP\Share::SHARE_TYPE_USER,
- 'shareWith' => $uid)
+ 'value' => array(
+ 'shareType' => OCP\Share::SHARE_TYPE_USER,
+ 'shareWith' => $uid)
);
$count++;
}
@@ -324,7 +325,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
|| !is_array($_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP])
|| !in_array($group, $_GET['itemShares'][OCP\Share::SHARE_TYPE_GROUP])) {
$shareWith[] = array(
- 'label' => $group.' ('.$l->t('group').')',
+ 'label' => $group,
'value' => array(
'shareType' => OCP\Share::SHARE_TYPE_GROUP,
'shareWith' => $group