From 100330c989873d535785fdb1586d3602b1def202 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 14 Jun 2015 14:29:52 -0400 Subject: Fix wrong event name in switch/case --- app/Model/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Model/Notification.php b/app/Model/Notification.php index d18e7642..ec349681 100644 --- a/app/Model/Notification.php +++ b/app/Model/Notification.php @@ -283,7 +283,7 @@ class Notification extends Base public function getMailSubject($event_name, array $event_data) { switch ($event_name) { - case Task::EVENT_CREATE: + case File::EVENT_CREATE: $subject = $this->getStandardMailSubject(e('New attachment'), $event_data); break; case Comment::EVENT_CREATE: -- cgit v1.2.3