PageTemplate/Fixup
* really fix merging jsGlobals from comments/etc. into existing PageTemplate
This commit is contained in:
parent
b832fc172c
commit
a96f6c4cdf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue