mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-14 02:30:56 +01:00
Fix sub-templates may not have been properly validated
This commit is contained in:
parent
db37c3b116
commit
99a4c87256
@ -252,7 +252,7 @@ class Template extends Etemplate\Widget
|
||||
$expand_name = self::expand_name($this->original_name, '','','','',self::$request->content);
|
||||
}
|
||||
//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 || $cname !== $old_cname)
|
||||
{
|
||||
if (($row_template = self::instance($expand_name)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user