누락된 getReq 추가. 버그 수정

This commit is contained in:
2018-04-14 02:42:58 +09:00
parent a03d2cee63
commit b797bab7e0
13 changed files with 40 additions and 40 deletions
+3 -3
View File
@@ -5,6 +5,9 @@ include "lib.php";
include "func.php";
$type = Util::getReq('type', 'int', 7);
if ($type <= 0 || $type > 8) {
$type = 7;
}
extractMissingPostToGlobals();
@@ -40,9 +43,6 @@ if ($me['level'] == 0 || ($me['level'] == 1 && $me['belong'] < $nation['secretli
exit();
}
if ($type <= 0 || $type > 8) {
$type = 7;
}
$sel = [];
$sel[$type] = "selected";