Skip to content

Commit 3359dd0

Browse files
authored
Merge pull request #1642 from wiltonsr/add-count-in-charts
Add count in Stats Charts
2 parents f855e06 + 7f8b339 commit 3359dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

require/stats/Stats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function showForm($form){
106106
while ($row = mysqli_fetch_object($res)) {
107107
if($i <= 10){
108108
$chart[$key]['count'][$i] = $row->c;
109-
$chart[$key]['name_value'][$i] = addslashes($row->name);
109+
$chart[$key]['name_value'][$i] = addslashes($row->name ." (".$row->c.")");
110110
$chart[$key]['name'] = [$key];
111111
if($key == 'NB_OS'){
112112
$chart[$key]['title'] = $l->g(783);

0 commit comments

Comments
 (0)