projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update CRM/Utils/Check.php
[civicrm-core.git]
/
CRM
/
Utils
/
Check.php
diff --git
a/CRM/Utils/Check.php
b/CRM/Utils/Check.php
index dd542d808bbff455ab5accf4b04b52ef03f226c5..c53912830e2962f9bbf3dc3e272459e8962fde2c 100644
(file)
--- 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());
}
}