버그 수정

This commit is contained in:
2019-04-21 22:29:08 +09:00
parent 9268ca51da
commit 3f2cf23f47
12 changed files with 104 additions and 66 deletions
+1 -4
View File
@@ -201,10 +201,7 @@ abstract class BaseCommand{
$db = DB::db();
$destNation = $db->queryFirstRow('SELECT %l FROM nation WHERE nation=%i', Util::formatListOfBackticks($args), $nationID);
if($destNation === null){
$destNation = [];
foreach($args as $arg){
$destNation[$arg] = $defaultValues[$arg];
}
$destNation = $defaultValues;
}
$this->destNation = $destNation;
}