Skip to content

Commit 81d46f2

Browse files
committed
Backport joomla#35855 to 3.10
1 parent 0c13098 commit 81d46f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/finder/content/content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ protected function index(FinderIndexerResult $item, $format = 'html')
255255

256256
// Initialise the item parameters.
257257
$registry = new Registry($item->params);
258-
$item->params = JComponentHelper::getParams('com_content', true);
258+
$item->params = clone JComponentHelper::getParams('com_content', true);
259259
$item->params->merge($registry);
260260

261261
$item->metadata = new Registry($item->metadata);

plugins/finder/tags/tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected function index(FinderIndexerResult $item, $format = 'html')
217217

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

223223
$item->metadata = new Registry($item->metadata);

0 commit comments

Comments
 (0)