누락된 getReq 추가. 버그 수정

This commit is contained in:
Hide_D committed 2018-04-14 02:42:58 +09:00
1 parent a03d2cee63
commit b797bab7e0
13 files changed
+40 -40

No files matched your search

+3 -4
View File
@@ -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"];
?>