국적 변경시 permission 초기화

This commit is contained in:
2019-01-25 20:30:02 +09:00
parent 358ec17c61
commit 6a928cd83a
5 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ $gameStor = KVStorage::getStorage($db, 'game_env');
$killturn = $gameStor->killturn;
$db->update('general', ['killturn'=>$killturn*3], 'owner=%i', $userID);
$db->update('general', [
'killturn'=>$killturn*3,
], 'owner=%i', $userID);
header('location:b_myPage.php');