mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
681a9b2d 오류 수정.
This commit is contained in:
parent
63e0fd6f3b
commit
a38169cfb1
1 changed files with 5 additions and 3 deletions
|
|
@ -1120,11 +1120,11 @@ class Context
|
|||
*/
|
||||
function _setRequestArgument()
|
||||
{
|
||||
if(count($_REQUEST) > 0)
|
||||
if(!count($_REQUEST))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$requestMethod = $this->getRequestMethod();
|
||||
foreach($_REQUEST as $key => $val)
|
||||
{
|
||||
|
|
@ -1214,16 +1214,18 @@ class Context
|
|||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$oXml = new XmlParser();
|
||||
$xml_obj = $oXml->parse();
|
||||
|
||||
$params = $xml_obj->methodcall->params;
|
||||
unset($params->node_name, $params->attrs);
|
||||
|
||||
if(count($params) > 0)
|
||||
if(!count($params))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
foreach($params as $key => $obj)
|
||||
{
|
||||
$this->set($key, $this->_filterRequestVar($key, $obj->body, 0), TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue