누락된 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

+4 -3
View File
@@ -12,6 +12,10 @@ $btn = Util::getReq('btn');
$gen = Util::getReq('gen', 'int', 0);
$type = Util::getReq('type', 'int', 0);
if ($type < 0 || $type > 3) {
$type = 0;
}
extractMissingPostToGlobals();
//로그인 검사
@@ -63,9 +67,6 @@ if ($btn == '정렬하기') {
$gen = 0;
}
if ($type <= 0 || $type > 3) {
$type = 0;
}
$sel = [];
$sel[$type] = "selected";