From 5d44a005a06c91b5ce6f7c28079c87e6a1beb22e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Oct 2014 13:02:56 +0200 Subject: [PATCH] Fix that notifications are not registered --- library/Icinga/Web/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Notification.php b/library/Icinga/Web/Notification.php index c61076cff..04d3ac3fb 100644 --- a/library/Icinga/Web/Notification.php +++ b/library/Icinga/Web/Notification.php @@ -75,7 +75,7 @@ class Notification return; } - $messages = Session::getSession()->getByRef('messages'); + $messages = & Session::getSession()->getByRef('messages'); $messages[] = (object) array( 'type' => $type, 'message' => $message,