* Fix bug #40928.
This commit is contained in:
@@ -313,8 +313,7 @@ class chartModel extends model
|
||||
$maxCount = 50;
|
||||
if(empty($date)) arsort($stat);
|
||||
|
||||
$copyStat = $stat;
|
||||
$other = array_sum(array_splice($copyStat, $maxCount));
|
||||
$other = array_sum(array_splice($stat, $maxCount));
|
||||
$stat[$this->lang->chart->other] = $other;
|
||||
if(empty($date)) arsort($stat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user