From 9e3d56deae198b7904a52df03252a7e97366d1b3 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 14 Aug 2009 18:58:28 -0400 Subject: [PATCH] fix reveresed logic for determining if notifications are shown --- kronolith/lib/Notification/Listener/Status.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kronolith/lib/Notification/Listener/Status.php b/kronolith/lib/Notification/Listener/Status.php index 0170c8346..ae7593b03 100644 --- a/kronolith/lib/Notification/Listener/Status.php +++ b/kronolith/lib/Notification/Listener/Status.php @@ -36,9 +36,9 @@ class Kronolith_Notification_Listener_Status extends Horde_Notification_Listener */ public function notify(&$messageStack, $options = array()) { - /* Don't capture notification messages if we are logging out are + /* Don't capture notification messages if we are logging out or are * accessing the options pages. */ - if (Horde_Auth::getAuth() && !strstr($_SERVER['PHP_SELF'], '/prefs.php')) { + if (!Horde_Auth::getAuth() || strstr($_SERVER['PHP_SELF'], '/prefs.php')) { $options['store'] = true; } parent::notify($messageStack, $options); -- 2.11.0