summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-04 12:23:40 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-04 12:23:40 +0200
commit304803d102fed4f9a7acf404f76fcf49d82f5a43 (patch)
tree06c6cf403cd5b849bf12d17d5c8590ea9ab161ef /core/ajax
parent8b08b1b455b474de3fa376dfafa3de63727364ea (diff)
downloadnextcloud-server-304803d102fed4f9a7acf404f76fcf49d82f5a43.tar.gz
nextcloud-server-304803d102fed4f9a7acf404f76fcf49d82f5a43.zip
fix array_diff call
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 9b282b2b94a..ed9cbfd109a 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -104,7 +104,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
}
// don't send a mail to the user who shared the file
- array_diff($recipientList, [\OCP\User::getUser()]);
+ $recipientList = array_diff($recipientList, [\OCP\User::getUser()]);
// send mail to all recipients with an email address
foreach ($recipientList as $recipient) {