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); }