diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php index 70dd0e1f..88b8e91e 100644 --- a/data/web/inc/functions.mailbox.inc.php +++ b/data/web/inc/functions.mailbox.inc.php @@ -3023,12 +3023,12 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) { if ($mailboxdata['percent_in_use'] === '- ') { $mailboxdata['percent_class'] = "info"; } - elseif ($mailboxdata['percent_in_use'] >= 75) { - $mailboxdata['percent_class'] = "warning"; - } elseif ($mailboxdata['percent_in_use'] >= 90) { $mailboxdata['percent_class'] = "danger"; } + elseif ($mailboxdata['percent_in_use'] >= 75) { + $mailboxdata['percent_class'] = "warning"; + } else { $mailboxdata['percent_class'] = "success"; }