This commit is contained in:
songchenxuan
2023-12-01 13:37:04 +08:00
parent b5445ccfec
commit 43986baf26
+1 -2
View File
@@ -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);