mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
setRequestArgument 에서 null string이 넘어오는 경우에 대한 처리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4458 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
513bb224ba
commit
1965182ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -485,6 +485,7 @@
|
|||
if(!count($_REQUEST)) return;
|
||||
|
||||
foreach($_REQUEST as $key => $val) {
|
||||
if($val !== 0 && !$val) continue;
|
||||
if($key == "page" || $key == "cpage" || substr($key,-3)=="srl") $val = (int)$val;
|
||||
else if(is_array($val) && count($val) ) {
|
||||
foreach($val as $k => $v) {
|
||||
|
|
@ -496,7 +497,6 @@
|
|||
if(get_magic_quotes_gpc()) $val = stripslashes($val);
|
||||
$val = trim($val);
|
||||
}
|
||||
if(!isset($val)) continue;
|
||||
|
||||
if($this->_getRequestMethod()=='GET'&&$_GET[$key]) $set_to_vars = true;
|
||||
elseif($this->_getRequestMethod()=='POST'&&$_POST[$key]) $set_to_vars = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue