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,