From 1160c8a4c5d94f8991cd410cf83dc533e72ebde9 Mon Sep 17 00:00:00 2001 From: machine62 <28401480+machine62@users.noreply.github.com> Date: Sat, 20 Apr 2024 08:14:42 +0200 Subject: [PATCH] Erreur uwamp erreur uwamp prepa tag 1.9.4 --- cdr_list.php | 5 +++-- version.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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