Skip to content

Commit

Permalink
EZP-24450: Fixed session issue caused by 367c6a9
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Jun 30, 2015
1 parent 1ac20b3 commit 89567f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Notification/NotificationPool.php
Expand Up @@ -78,6 +78,8 @@ private function translateMessage(TranslatableNotificationMessage $message)

public function onKernelResponse(FilterResponseEvent $event)
{
$this->session->getFlashBag()->set('notification', $this->notifications);
if ($this->notifications) {
$this->session->getFlashBag()->set('notification', $this->notifications);
}
}
}

0 comments on commit 89567f7

Please sign in to comment.