From a96f6c4cdfedb98bbc4b2e8eb9789f84e6f9200b Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 10 Oct 2025 20:21:41 +0200 Subject: [PATCH] PageTemplate/Fixup * really fix merging jsGlobals from comments/etc. into existing PageTemplate --- includes/components/response/templateresponse.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/components/response/templateresponse.class.php b/includes/components/response/templateresponse.class.php index d5050ad0..7ceffdcf 100644 --- a/includes/components/response/templateresponse.class.php +++ b/includes/components/response/templateresponse.class.php @@ -626,7 +626,7 @@ class TemplateResponse extends BaseResponse foreach ($this->jsGlobals as $type => [, $data, ]) { if (!isset($ptJSG[$type]) || $type == Type::USER) - $ptJSGs[$type] = $this->jsGlobals[$type]; + $ptJSG[$type] = $this->jsGlobals[$type]; else Util::mergeJsGlobals($ptJSG[$type][1], $data); }