From dd1eeaddfae0189bc4c92aef6b049a3382c45fc8 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 22 Aug 2018 14:20:49 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=84=EB=9E=B5=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process_sabotage.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/func_process_sabotage.php b/hwe/func_process_sabotage.php index 3150f8d5..6f16a4ee 100644 --- a/hwe/func_process_sabotage.php +++ b/hwe/func_process_sabotage.php @@ -162,7 +162,7 @@ function process_32(&$general) { $srcNation = getNationStaticInfo($srcNationID); $destNation = getNationStaticInfo($destNationID); - $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level WHERE city=%i and nation=%i', $city['city'], $city['nation']); + $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level FROM general WHERE city=%i and nation=%i', $city['city'], $city['nation']); [ $srcGenScore, @@ -289,7 +289,7 @@ function process_33(&$general) { $srcNation = getNationStaticInfo($srcNationID); $destNation = getNationStaticInfo($destNationID); - $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level WHERE city=%i and nation=%i', $city['city'], $city['nation']); + $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level FROM general WHERE city=%i and nation=%i', $city['city'], $city['nation']); [ $srcGenScore, @@ -448,7 +448,7 @@ function process_34(&$general) { $srcNation = getNationStaticInfo($srcNationID); $destNation = getNationStaticInfo($destNationID); - $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level WHERE city=%i and nation=%i', $city['city'], $city['nation']); + $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level FROM general WHERE city=%i and nation=%i', $city['city'], $city['nation']); [ $srcGenScore, @@ -575,7 +575,7 @@ function process_35(&$general) { $srcNation = getNationStaticInfo($srcNationID); $destNation = getNationStaticInfo($destNationID); - $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level WHERE city=%i and nation=%i', $city['city'], $city['nation']); + $generalList = $db->query('SELECT `no`,leader,horse,power,weap,intel,book,injury,level FROM general WHERE city=%i and nation=%i', $city['city'], $city['nation']); [ $srcGenScore,