* Mail: Fix broken quota indicator

This commit is contained in:
Hadi Nategh 2017-06-13 16:40:03 +02:00
parent 508b38a15e
commit 058d1d1762

View File

@ -2637,10 +2637,10 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
$text = $usage .'/'.$limit; $text = $usage .'/'.$limit;
switch ($percent) switch ($percent)
{ {
case 90: case ($percent > 90):
$class ='mail-index_QuotaRed'; $class ='mail-index_QuotaRed';
break; break;
case 80: case ($percent > 80):
$class ='mail-index_QuotaYellow'; $class ='mail-index_QuotaYellow';
break; break;
default: default: