From d712d5302076cfb0e5ad4cff0fe320e8dc29ea23 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 1 May 2020 15:28:00 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func.php b/hwe/func.php index 287c3837..ffc226c7 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1670,7 +1670,7 @@ function nextRuler(General $general) { 'officer_level'=>12, 'officer_city'=>0, ], 'no=%i', $nextRulerID); - if($db->affectedRows()){ + if($db->affectedRows()==0){ throw new \RuntimeException('선양되지 않음'); }