From f688572dbfe50b4e0bb30ce6cdae48bfb765c40e Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 11 Dec 2024 17:22:27 -0700 Subject: [PATCH] Partially revert 7933936, that stops preferences from saving properly --- 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 eeb42e1a1a..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))) {