since $messge returns if it's hushed or not, is visible should return opposite
authorNikki <nikki.liz.murray@gmail.com>
Thu, 8 Oct 2015 20:34:05 +0000 (16:34 -0400)
committerNikki Murray <nikki.liz.murray@gmail.com>
Tue, 13 Oct 2015 19:21:21 +0000 (15:21 -0400)
CRM/Utils/Check.php

index 7951832397fb9bb4ed3c72b7fe48e1104352a945..87d930c4329a48f954d2f12ecb016fae08e2c142 100644 (file)
@@ -206,7 +206,7 @@ class CRM_Utils_Check {
 
     foreach ($messages as $key => $message) {
       $hush = self::checkHushSnooze($message);
-      $message->setVisible($hush);
+      $message->setVisible(!$hush);
     }
     uasort($messages, array(__CLASS__, 'severitySort'));