Skip to content

Commit

Permalink
Notification bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmulder committed Sep 8, 2015
1 parent d62b50b commit 51e153f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Admin/NotificationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class NotificationsController extends AppController
public function beforeFilter(\Cake\Event\Event $event)
{
// notifications for index-action have to be loaded here because of the loaded count of unread notifications.
$this->set('notifications', $this->Notifier->allNotificationList());
$this->set('notifications', $this->Notifier->getNotifications());
$this->Notifier->markAsRead();

parent::beforeFilter($event);
Expand Down

0 comments on commit 51e153f

Please sign in to comment.