diff --git a/cdr_list.php b/cdr_list.php index 925df5d..7d20cce 100644 --- a/cdr_list.php +++ b/cdr_list.php @@ -38,12 +38,13 @@ $user_technology = $user_empire["technology"]; // todo utiliser formule de pitch $fret_recycleur = 20000; -if ($user_technology['Hyp'] !=0) +if ((int)$user_technology['Hyp'] !=0) // (int) sinon bug sous windows ( uwamp) { - $fret_recycleur = (20000 * (1 + 0.05 * $user_technology['Hyp'])); + $fret_recycleur = (20000 * (1 + 0.05 * (int)$user_technology['Hyp'])); } ?> +
diff --git a/version.txt b/version.txt index ef9a6e4..97f1409 100644 --- a/version.txt +++ b/version.txt @@ -1,4 +1,4 @@ Champs de ruines -1.9.3 +1.9.4 Champs de ruines,Champs de ruines,cdr,cdr,cdr.php,1,0 3.3.9