diff --git a/CRM/Utils/Check.php b/CRM/Utils/Check.php index 0332175d7c8f..e609122d5e6c 100644 --- a/CRM/Utils/Check.php +++ b/CRM/Utils/Check.php @@ -81,11 +81,25 @@ public function showPeriodicAlerts($messages = NULL, $filter = array(__CLASS__, if ($messages === NULL) { $messages = $this->checkAll(); } + $statusMessages = array(); foreach ($messages as $message) { if ($filter === TRUE || call_user_func($filter, $message)) { - CRM_Core_Session::setStatus($message->getMessage(), $message->getTitle()); + $statusMessages[] = $message->getMessage(); + $statusTitle = $message->getTitle(); } } + + if (count($statusMessages)) { + if (count($statusMessages) > 1) { + $statusTitle = ts('Multiple Alerts'); + $statusMessage = '