Skip to content

Commit

Permalink
Backport joomla#35855 to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Nov 28, 2021
1 parent 0c13098 commit 81d46f2
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 @@ -255,7 +255,7 @@ protected function index(FinderIndexerResult $item, $format = 'html')

// Initialise the item parameters.
$registry = new Registry($item->params);
$item->params = JComponentHelper::getParams('com_content', true);
$item->params = clone JComponentHelper::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 @@ -217,7 +217,7 @@ protected function index(FinderIndexerResult $item, $format = 'html')

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

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

0 comments on commit 81d46f2

Please sign in to comment.