XML Request에서 0인 값을 받을 수 없는 문제 해결

This commit is contained in:
Eunsoo Lee 2015-01-08 14:59:27 +09:00
parent 3a03246a9a
commit 1416476676

View file

@ -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();