Skip to content

Commit

Permalink
[4.0] Fix webcomponents not being included on the page
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Mar 3, 2019
1 parent 2dcc610 commit 896efbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Document/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ public function addScriptOptions($key, $options, $merge = true)

if ($merge && is_array($options))
{
$this->scriptOptions[$key] = array_replace_recursive($this->scriptOptions[$key], $options);
$this->scriptOptions[$key] = array_merge($this->scriptOptions[$key], $options);
}
else
{
Expand Down

0 comments on commit 896efbb

Please sign in to comment.