_filterRequestVar 함수 실행 횟수 개선

This commit is contained in:
Eunsoo Lee 2015-01-09 14:39:55 +09:00
parent 1416476676
commit c31b9795e0

View file

@ -1277,11 +1277,11 @@ class Context
return $stack;
}
$body = $this->_filterRequestVar($key, $val->body, 0);
$body = $val->body;
unset($val->node_name, $val->attrs, $val->body);
if(!count(get_object_vars($val)))
{
return $body;
return $this->_filterRequestVar($key, $body, 0);
}
$stack = new stdClass();