diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index fb45b7e90c..4d19902c72 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -1174,16 +1174,16 @@ * * @param string/array $func function to use or array($obj,'method') * @param mixed &$extra extra parameter passed to function + * @param string $path='/' start-path * @return mixed return-value of func or null if nothing returned at all */ - function &widget_tree_walk($func,&$extra) + function &widget_tree_walk($func,&$extra,$path='/') { if (!is_callable($func)) { echo "
boetemplate($this->name)::widget_tree_walk(".print_r($func,true).", ".print_r($extra,true).", ".print_r($opts,true).") func is not callable !!!
".function_backtrace()."