누락된 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
+7 -6
View File
@@ -7,6 +7,13 @@ include "func.php";
$type = Util::getReq('type', 'int', 0);
$type2 = Util::getReq('type2', 'int', 0);
if($type < 0 || $type > 17){
$type = 0;
}
if($type2 < 0 || $type2 > 6){
$type2 = 0;
}
extractMissingPostToGlobals();
//로그인 검사
@@ -35,12 +42,6 @@ if($session->userGrade < 5) {
$db = DB::db();
$connect=$db->get();
if($type == 0) {
$type = 0;
}
if($type2 == 0) {
$type2 = 0;
}
$sel = [];
$sel2 = [];
$sel[$type] = "selected";