summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-03 11:30:55 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-03 11:31:21 +0200
commitd09b1553d0356adb894854884c672e3696a74f4e (patch)
tree5cad99fa873cb31ec3ce2ab17c77d8158a1ff3a4 /core
parent9c23c3449b8f9c9d847a64c9a2c7127b87054c7c (diff)
downloadnextcloud-server-d09b1553d0356adb894854884c672e3696a74f4e.tar.gz
nextcloud-server-d09b1553d0356adb894854884c672e3696a74f4e.zip
Fixed syntax error in array
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 9b282b2b94a..f55a79a9034 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()]);
+ array_diff($recipientList, array(\OCP\User::getUser()));
// send mail to all recipients with an email address
foreach ($recipientList as $recipient) {