mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
XML Request에서 0인 값을 받을 수 없는 문제 해결
This commit is contained in:
parent
3a03246a9a
commit
1416476676
1 changed files with 2 additions and 7 deletions
|
|
@ -1277,16 +1277,11 @@ class Context
|
|||
return $stack;
|
||||
}
|
||||
|
||||
$body = $this->_filterRequestVar($key, trim($val->body ? $val->body : ''), 0);
|
||||
if($body)
|
||||
{
|
||||
return $body;
|
||||
}
|
||||
|
||||
$body = $this->_filterRequestVar($key, $val->body, 0);
|
||||
unset($val->node_name, $val->attrs, $val->body);
|
||||
if(!count(get_object_vars($val)))
|
||||
{
|
||||
return NULL;
|
||||
return $body;
|
||||
}
|
||||
|
||||
$stack = new stdClass();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue