diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-14 14:29:52 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-14 14:29:52 -0400 |
commit | 100330c989873d535785fdb1586d3602b1def202 (patch) | |
tree | b0422bdb2a8b8cc85ab33fb98d8e542fb5ad35ec /app | |
parent | c093536c2c8b9b15be629b88206f406cc01006d0 (diff) |
Fix wrong event name in switch/case
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/Notification.php | 2 |
1 files changed, 1 insertions, 1 deletions
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: |