mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
#17830536 : Handle 0 properly for setting request argument
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5810 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7fe1af11a6
commit
39ce059217
1 changed files with 2 additions and 2 deletions
|
|
@ -627,8 +627,8 @@
|
|||
foreach($_REQUEST as $key => $val) {
|
||||
if($val === "") continue;
|
||||
$val = $this->_filterRequestVar($key, $val);
|
||||
if($this->_getRequestMethod()=='GET'&&$_GET[$key]) $set_to_vars = true;
|
||||
elseif($this->_getRequestMethod()=='POST'&&$_POST[$key]) $set_to_vars = true;
|
||||
if($this->_getRequestMethod()=='GET'&&isset($_GET[$key])) $set_to_vars = true;
|
||||
elseif($this->_getRequestMethod()=='POST'&&isset($_POST[$key])) $set_to_vars = true;
|
||||
else $set_to_vars = false;
|
||||
$this->_set($key, $val, $set_to_vars);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue