mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-19 04:18:19 +01:00
Fix sub-templates may not have been properly validated
3rd try
This commit is contained in:
parent
9e84456e21
commit
4a1455d05e
@ -252,7 +252,7 @@ class Template extends Etemplate\Widget
|
|||||||
$expand_name = self::expand_name($this->original_name, '','','','',self::$request->content);
|
$expand_name = self::expand_name($this->original_name, '','','','',self::$request->content);
|
||||||
}
|
}
|
||||||
//error_log("$this running $method_name() cname: {$this->id} -> expand_name: $expand_name");
|
//error_log("$this running $method_name() cname: {$this->id} -> expand_name: $expand_name");
|
||||||
if($expand_name && $expand_name != $this->id)
|
if($expand_name && ($expand_name != $this->id || count($this->children) == 0))
|
||||||
{
|
{
|
||||||
if (($row_template = self::instance($expand_name)))
|
if (($row_template = self::instance($expand_name)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user