누락된 getReq 추가. 버그 수정
This commit is contained in:
+3
-4
@@ -5,6 +5,9 @@ include "lib.php";
|
||||
include "func.php";
|
||||
|
||||
$type = Util::getReq('type', 'int', 1);
|
||||
if($type <= 0 || $type > 15) {
|
||||
$type = 1;
|
||||
}
|
||||
|
||||
extractMissingPostToGlobals();
|
||||
|
||||
@@ -26,10 +29,6 @@ if($me['level'] == 0) {
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
if($type <= 0 || $type > 15) {
|
||||
$type = 1;
|
||||
}
|
||||
$sel = [$type => "selected"];
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user