From 388f9beacc70703c6878f9dc12e82c0873a9f52a Mon Sep 17 00:00:00 2001 From: CN-traveler Date: Sun, 1 Aug 2021 14:21:11 +0000 Subject: [PATCH] =?UTF-8?q?echarts=E5=9B=BE=E8=A1=A8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/include/misc/misc_stat.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/upload/source/include/misc/misc_stat.php b/upload/source/include/misc/misc_stat.php index 03e39a59d..a97e6fc4d 100644 --- a/upload/source/include/misc/misc_stat.php +++ b/upload/source/include/misc/misc_stat.php @@ -92,7 +92,11 @@ if (!empty($_GET['xml'])) { $xml .= ""; $count = 0; foreach ($graph as $key => $value) { - $xml .= ""; + $title = diconv(lang('spacecp', "do_stat_$key"), CHARSET, 'utf-8'); + if ($title == '') { + continue; + } + $xml .= ""; $xml .= $value; $xml .= ''; $count++; -- Gitee