누락된 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
+5 -4
View File
@@ -6,7 +6,11 @@ include "func.php";
$btn = Util::getReq('btn');
$gen = Util::getReq('gen', 'int', 0);
$type = Util::getReq('type', 'int');
$type = Util::getReq('type', 'int', 0);
if($type < 0 || $type > 3){
$type = 0;
}
extractMissingPostToGlobals();
@@ -40,9 +44,6 @@ if($btn == '정렬하기') {
$gen = 0;
}
if($type == 0) {
$type = 0;
}
$sel[$type] = "selected";
?>
<!DOCTYPE html>