1차 버그 수정

This commit is contained in:
2019-04-07 22:29:46 +09:00
parent afc301fad2
commit 23c2a16286
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ function myNationInfo() {
}
function checkSecretPermission($me){
if(!key_exists($me['penalty']) || !key_exists($me['permission'])){
if(!key_exists('penalty', $me) || !key_exists('permission', $me)){
trigger_error ('canAccessSecret() 함수에 필요한 인자가 부족');
}
$penalty = Json::decode($me['penalty'])??[];