From 2bea08e242ee38b74edb35c89cdbbe0e547ce609 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 20 Jul 2022 14:01:19 -0700 Subject: [PATCH] Update CRM/Utils/Check.php Co-authored-by: demeritcowboy --- CRM/Utils/Check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Check.php b/CRM/Utils/Check.php index dd542d808b..c53912830e 100644 --- a/CRM/Utils/Check.php +++ b/CRM/Utils/Check.php @@ -187,7 +187,7 @@ class CRM_Utils_Check { $maxSeverity = 1; foreach ($messages as $message) { if ($message->isVisible()) { - $maxSeverity = max(1, $message->getLevel()); + $maxSeverity = max($maxSeverity, $message->getLevel()); } } -- 2.25.1