verschenken von 0 Yen behoben

main
radiskull 13 years ago
parent 887df79f3a
commit 5350c9be8e

@ -217,7 +217,7 @@ if($charm == 3) {
$arenalvl = $row['level']; $arenalvl = $row['level'];
$tausch_geld = round($tausch_geld); $tausch_geld = round($tausch_geld);
if($tausch_geld <= ($arenalvl * 10000)) { if($tausch_geld <= ($arenalvl * 10000) && $tausch_geld > 0) {
if($tausch_geld <= $user['geld']) { if($tausch_geld <= $user['geld']) {
$qry = 'UPDATE user SET geld = geld - '.$tausch_geld.' WHERE id = '.$user['id'].';'; $qry = 'UPDATE user SET geld = geld - '.$tausch_geld.' WHERE id = '.$user['id'].';';
mysql_query($qry); mysql_query($qry);

Loading…
Cancel
Save