diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-15 20:46:26 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-15 20:46:26 -0400 |
commit | 5f82a942c0011bf91947b2c1d627c0907bda0c92 (patch) | |
tree | 31dfe2268e237d0fd7ea4586f9c25a365fb54116 /app/Notification/MailNotification.php | |
parent | 70104eff1599a46e00a907e8c185f63493f26ecd (diff) |
Fix PHP notice when sending overdue notifications
Diffstat (limited to 'app/Notification/MailNotification.php')
-rw-r--r-- | app/Notification/MailNotification.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Notification/MailNotification.php b/app/Notification/MailNotification.php index a5f51b89..9e042820 100644 --- a/app/Notification/MailNotification.php +++ b/app/Notification/MailNotification.php @@ -80,7 +80,7 @@ class MailNotification extends Base implements NotificationInterface { return sprintf( '[%s] %s', - $eventData['task']['project_name'], + isset($eventData['project_name']) ? $eventData['project_name'] : $eventData['task']['project_name'], $this->notificationModel->getTitleWithoutAuthor($eventName, $eventData) ); } |