mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
Etemplate: Fix sub-templates not expanded and children not processed if id is set but does not expand
This commit is contained in:
parent
1047abe80b
commit
74ffe2dc10
@ -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