commit
02d3039511
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
config/config.php
|
||||
data/telemetry_cache/*
|
||||
data/*
|
||||
temp/*
|
||||
discord/config.php
|
||||
|
|
@ -79,8 +79,8 @@ error_reporting(E_ALL);
|
|||
: "0")); // or any other default string for non-numerical values
|
||||
$wins = number_format($player_data['wins'], 2, ',', '');
|
||||
$winratio = number_format($player_data['winratio'], 2, ',', '');
|
||||
$originalChange = $player_data['change'];
|
||||
$change = number_format($player_data['change'], 2, ',', '');
|
||||
$originalChange = str_replace(',', '.', $player_data['change']); // replace comma with period
|
||||
$change = floatval($originalChange);
|
||||
|
||||
if ($originalChange < 0) {
|
||||
$imagePath = 'images\red.png';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue