diff --git a/plugins/finder/content/content.php b/plugins/finder/content/content.php index 52fd36f03d2f0..6571b2dc0d6ad 100644 --- a/plugins/finder/content/content.php +++ b/plugins/finder/content/content.php @@ -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); diff --git a/plugins/finder/tags/tags.php b/plugins/finder/tags/tags.php index aed0f1ea728d1..c5bd740196c8c 100644 --- a/plugins/finder/tags/tags.php +++ b/plugins/finder/tags/tags.php @@ -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);