Fixed syntax error in array

remotes/origin/stable6
Vincent Petry 2013-10-03 11:30:55 +07:00
parent 9c23c3449b
commit d09b1553d0
1 changed files with 1 additions and 1 deletions

@ -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) {