Reset namespace for widgets that come later in template

This commit is contained in:
Nathan Gray 2012-03-30 16:05:29 +00:00
parent 26f5f2e504
commit 95fb2dfaaa

View File

@ -717,6 +717,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
*/
public function run($method_name, $params=array(''), $respect_disabled=false)
{
$old_param0 = $params[0];
$cname =& $params[0];
// Need this check or the headers will get involved too
if($this->type == 'nextmatch') {
@ -728,7 +729,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
$row_template->run($method_name, $params, $respect_disabled);
}
}
$params[0] = $old_param0;
}
}