From ce71cdd16d954c3f89663571690ecff97ccf21b7 Mon Sep 17 00:00:00 2001 From: peonso Date: Wed, 17 Sep 2014 17:14:33 -0300 Subject: [PATCH] Update users.php --- engine/function/users.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/engine/function/users.php b/engine/function/users.php index 7cfad3e..05d9f80 100644 --- a/engine/function/users.php +++ b/engine/function/users.php @@ -241,8 +241,7 @@ function shop_account_gender_tickets($accid) { // function guild_remove_member($cid) { $cid = (int)$cid; - mysql_update("UPDATE `players` SET `rank_id`='0' WHERE `id`=$cid"); - mysql_update("UPDATE `players` SET `guildnick`= NULL WHERE `id`=$cid"); + mysql_update("UPDATE `players` SET `rank_id`='0', `guildnick`= NULL WHERE `id`=$cid"); } function guild_remove_member_10($cid) { $cid = (int)$cid; @@ -1519,4 +1518,4 @@ function cancel_war_invitation($cid, $gid) { mysql_update("UPDATE `guild_wars` SET `status` = 3, `ended` = '$time' WHERE `guild2` = '$cid' AND `guild1` = '$gid';"); } -?> \ No newline at end of file +?>