From a78a118bcc2e72e1958c24f8dbddc1c66343e361 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 29 Jul 2016 21:34:04 +0200 Subject: [PATCH] Add missing variable in anonymous function's use list --- .../lib/system/cronjob/DailyMailNotificationCronjob.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php index d4a1e2110e..722e208bc7 100644 --- a/wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php @@ -149,7 +149,7 @@ class DailyMailNotificationCronjob extends AbstractCronjob { if ($user->activationCode) continue; if ($user->banned) continue; - $notifications = array_map(function ($notificationID) use ($notificationObjects, $eventObjects, $user, $objectTypes, $authors, $authorToNotification) { + $notifications = array_map(function ($notificationID) use ($notificationObjects, $eventObjects, $user, $objectTypes, $authors, $authorToNotification, $unknownAuthor) { $notification = $notificationObjects[$notificationID]; $className = $eventObjects[$notification->eventID]->className; -- 2.20.1