Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Commit

Permalink
Fixed the display of Playtime for Stats Per Server
Browse files Browse the repository at this point in the history
  • Loading branch information
Prophet731 committed Nov 25, 2014
1 parent efbdf04 commit 5727e82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/controllers/other/PlayerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ public function getPlayerStats($id)
);
}

foreach($player_stats as $key => $row)
$player_stats[$key]->Playtime = Helper::convertSecToStr($row->Playtime, TRUE);

$pdata = array(
'summary' => array_filter((array)$player_sum_stats[0], 'strlen'),
'per_server' => $player_stats,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<th>Last Seen</th>
<th>Wins</th>
<th>Losses</th>
<th width="100px">Playtime</th>
<th width="150px">Playtime</th>
<th width="250px">Server</th>
</thead>

Expand Down

0 comments on commit 5727e82

Please sign in to comment.