Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denitz committed Oct 19, 2021
1 parent 32f1809 commit 89837ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/finder/content/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function index(Result $item)

// Initialise the item parameters.
$registry = new Registry($item->params);
$item->params = ComponentHelper::getParams('com_content', true);
$item->params = clone ComponentHelper::getParams('com_content', true);
$item->params->merge($registry);

$item->metadata = new Registry($item->metadata);
Expand Down
2 changes: 1 addition & 1 deletion plugins/finder/tags/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ protected function index(Result $item)

// Initialize the item parameters.
$registry = new Registry($item->params);
$item->params = ComponentHelper::getParams('com_tags', true);
$item->params = clone ComponentHelper::getParams('com_tags', true);
$item->params->merge($registry);

$item->metadata = new Registry($item->metadata);
Expand Down

0 comments on commit 89837ce

Please sign in to comment.