Util::array_get($_POST 류를 Util::getReq로 통합.

array_merge를 이상하게 처리하는 부분 수정
This commit is contained in:
2018-04-07 15:16:46 +09:00
parent 183efd073b
commit 0cc7ba368a
21 changed files with 125 additions and 88 deletions
+3 -3
View File
@@ -12,9 +12,9 @@ $session = Session::requireLogin(null);
// $_POST['notice'] : 공지
// $_POST['server'] : 서버 인덱스
$action = Util::array_get($_POST['action'], '');
$notice = Util::array_get($_POST['notice'], '');
$server = Util::array_get($_POST['server'], '');
$action = Util::getReq('action', 'string', '');
$notice = Util::getReq('notice', 'string', '');
$server = Util::getReq('server', 'string', '');
$db = RootDB::db();
$userGrade = $session->userGrade;