외교권자 임명 시 내부적으로 warning뜨는 버그 수정

This commit is contained in:
2019-07-17 21:19:34 +09:00
parent cb5414f789
commit 0af5e9ec84
+1 -1
View File
@@ -32,7 +32,7 @@ $nationID = $me['nation'];
if($isAmbassador){
$targetType = 'ambassador';
$targetLevel = 4;
if(count($genlist) > 2){
if($genlist && count($genlist) > 2){
Json::die([
'result'=>false,
'reason'=>'외교권자는 최대 둘까지만 설정 가능합니다.'