* Mail: Fix broken quota indicator

This commit is contained in:
Hadi Nategh 2017-06-13 16:40:03 +02:00
parent 5ef8cf1614
commit 6919a2a51c

View File

@ -2482,10 +2482,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: