From 66b6c4d04f48c6b2a1e640b3fe88aeeed9793dd3 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 23 Jun 2018 05:37:34 +0900 Subject: [PATCH] =?UTF-8?q?query=20=EA=B0=84=EC=86=8C=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index 676de481..7af75e93 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -908,7 +908,7 @@ function NPCStaffWork($general, $nation, $dipState){ $commandList = []; - foreach($db->query('SELECT * FROM general WHERE nation = %i', $general['nation']) as $nationGeneral) { + foreach($db->query('SELECT `no`, nation, city, npc, `gold`, `rice`, leader, `power`, intel, killturn, crew, train, atmos, `level` FROM general WHERE nation = %i', $general['nation']) as $nationGeneral) { $cityID = $nationGeneral['city']; $generalID = $nationGeneral['no'];