From 378075955a89d027b26802796fcacdb1f5c3b641 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 27 Jun 2018 03:04:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=20=EC=98=A4=ED=94=88?= =?UTF-8?q?=EC=8B=9C=20=EC=B2=9C=ED=86=B5=EA=B5=AD=20=EC=B2=B4=ED=81=AC?= =?UTF-8?q?=EA=B0=80=20=EC=9D=B4=EC=83=81=ED=95=9C=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_gamerule.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index 264d85bf..80ec2c3f 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -1200,6 +1200,9 @@ function checkEmperior() { $nation = MYDB_fetch_array($result); $count = $db->queryFirstField('SELECT count(city) WHERE nation=%i', $nation['nation']); + if(!$count){ + return; + } $allcount = $db->queryFirstField('SELECT count(city) FROM city'); if ($count != $allcount) {