forked from extern/egroupware
fixed fatal error in soetemplate called by editor, if etemplate is switched to etemplate_new
This commit is contained in:
parent
2bec937130
commit
8f52e2ca3c
@ -1232,7 +1232,7 @@ class soetemplate
|
||||
case 'template':
|
||||
if (!isset($widget['obj']) && $widget['name'][0] != '@')
|
||||
{
|
||||
$widget['obj'] = new etemplate;
|
||||
$widget['obj'] = new etemplate_old;
|
||||
if (!$widget['obj']->read($widget['name'])) $widget['obj'] = false;
|
||||
}
|
||||
if (!is_object($widget['obj'])) break; // cant descent into template
|
||||
|
Loading…
Reference in New Issue
Block a user