mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Restore namespace when done running
This commit is contained in:
parent
446034c58f
commit
6fcab842b0
@ -129,8 +129,10 @@ class etemplate_widget_template extends etemplate_widget
|
||||
public function run($method_name, $params=array(''), $respect_disabled=false)
|
||||
{
|
||||
$cname =& $params[0];
|
||||
$old_cname = $params[0];
|
||||
if ($this->attrs['content']) $cname = self::form_name($cname, $this->attrs['content'], $params[1]);
|
||||
parent::run($method_name, $params, $respect_disabled);
|
||||
$params[0] = $old_cname;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user