From 772d37131d2d00552e1fb1298cb3a7a8fc428d5f Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 12 Jun 2020 20:39:31 +0900 Subject: [PATCH] =?UTF-8?q?ExistsDestNation=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/sammo/Constraint/ExistsDestNation.php | 52 +++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/hwe/sammo/Constraint/ExistsDestNation.php b/hwe/sammo/Constraint/ExistsDestNation.php index 4e08e1e4..db442c6a 100644 --- a/hwe/sammo/Constraint/ExistsDestNation.php +++ b/hwe/sammo/Constraint/ExistsDestNation.php @@ -1,27 +1,27 @@ -checkInputValues(); - $this->tested = true; - - if($this->destNation['nation']){ - return true; - } - - $this->reason = "멸망한 국가입니다."; - return false; - } +checkInputValues(); + $this->tested = true; + + if($this->destNation['nation']??0){ + return true; + } + + $this->reason = "멸망한 국가입니다."; + return false; + } } \ No newline at end of file