From: Vincent Petry Date: Thu, 3 Oct 2013 09:30:55 +0000 (+0200) Subject: Fixed syntax error in array X-Git-Tag: v6.0.0alpha2~101^2~1^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d09b1553d0356adb894854884c672e3696a74f4e;p=nextcloud-server.git Fixed syntax error in array --- 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) {