From 7f8b3398e36271bb24c12790e98a82ba3161a437 Mon Sep 17 00:00:00 2001 From: Wilton Rodrigues Date: Thu, 10 Oct 2024 17:03:11 -0300 Subject: [PATCH] Add count in Stats Charts --- require/stats/Stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/require/stats/Stats.php b/require/stats/Stats.php index b523a3946..21c889281 100644 --- a/require/stats/Stats.php +++ b/require/stats/Stats.php @@ -106,7 +106,7 @@ public function showForm($form){ while ($row = mysqli_fetch_object($res)) { if($i <= 10){ $chart[$key]['count'][$i] = $row->c; - $chart[$key]['name_value'][$i] = addslashes($row->name); + $chart[$key]['name_value'][$i] = addslashes($row->name ." (".$row->c.")"); $chart[$key]['name'] = [$key]; if($key == 'NB_OS'){ $chart[$key]['title'] = $l->g(783);