wip
This commit is contained in:
1 parent
d3941c6a91
commit
cd8923751a
1 file changed
+1
@@ -87,6 +87,7 @@ class StatsMedianAverage extends StatsOverviewWidget
|
|||||||
|
|
||||||
if (isset($data['results'])) {
|
if (isset($data['results'])) {
|
||||||
$win = $data['results']['w'] ? number_format(Round::odd($total_home / $data['results']['w']), 2) : 0;
|
$win = $data['results']['w'] ? number_format(Round::odd($total_home / $data['results']['w']), 2) : 0;
|
||||||
|
$win = number_format($win, 2);
|
||||||
$draw = $data['results']['d'] ? number_format(Round::odd($total_home / $data['results']['d']), 2) : 0;
|
$draw = $data['results']['d'] ? number_format(Round::odd($total_home / $data['results']['d']), 2) : 0;
|
||||||
$lost = $data['results']['l'] ? number_format(Round::odd($total_home / $data['results']['l']), 2) : 0;
|
$lost = $data['results']['l'] ? number_format(Round::odd($total_home / $data['results']['l']), 2) : 0;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user