From aff2cd301150395007473f824772ea256502ae6f Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 11 Dec 2024 08:30:54 +0100 Subject: [PATCH] Revert "Fix sub-templates may not have been properly validated" as it sends calendar in an endless recursion :( This reverts commit 99a4c87256d1c292f2aa6ba3dc88531ecb09e52b. --- api/src/Etemplate/Widget/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Etemplate/Widget/Template.php b/api/src/Etemplate/Widget/Template.php index 8ccc7dd019..b84f3d4b2f 100644 --- a/api/src/Etemplate/Widget/Template.php +++ b/api/src/Etemplate/Widget/Template.php @@ -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 || $cname !== $old_cname) + if($expand_name && $expand_name != $this->id) { if (($row_template = self::instance($expand_name))) {