forked from extern/egroupware
Etemplate: Fix sub-templates not expanded and children not processed if id is set but does not expand
This commit is contained in:
parent
8b28d8ffd0
commit
10b98897d2
@ -247,6 +247,10 @@ class Template extends Etemplate\Widget
|
||||
// Check for template from content, and run over it
|
||||
// templates included via template tag have their name to load them from in attribute "template"
|
||||
$expand_name = self::expand_name($this->id ? $this->id : $this->attrs['template'], '','','','',self::$request->content);
|
||||
if(!$expand_name && $this->id && $this->attrs['template'])
|
||||
{
|
||||
$expand_name = $this->attrs['template'];
|
||||
}
|
||||
if($this->original_name)
|
||||
{
|
||||
$expand_name = self::expand_name($this->original_name, '','','','',self::$request->content);
|
||||
|
Loading…
Reference in New Issue
Block a user