Skip to content

Commit

Permalink
Merge pull request #1642 from wiltonsr/add-count-in-charts
Browse files Browse the repository at this point in the history
Add count in Stats Charts
  • Loading branch information
Lea9250 authored Oct 28, 2024
2 parents f855e06 + 7f8b339 commit 3359dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion require/stats/Stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3359dd0

Please sign in to comment.