버그 수정

This commit is contained in:
2020-05-01 15:28:00 +09:00
parent ac6b2ef4b4
commit d712d53020
+1 -1
View File
@@ -1670,7 +1670,7 @@ function nextRuler(General $general) {
'officer_level'=>12, 'officer_level'=>12,
'officer_city'=>0, 'officer_city'=>0,
], 'no=%i', $nextRulerID); ], 'no=%i', $nextRulerID);
if($db->affectedRows()){ if($db->affectedRows()==0){
throw new \RuntimeException('선양되지 않음'); throw new \RuntimeException('선양되지 않음');
} }