From a20a874f38a96fcb1dec11903aa3474441b5d610 Mon Sep 17 00:00:00 2001 From: Andrey Grachov Date: Wed, 18 Feb 2026 17:32:47 +0000 Subject: [PATCH] Fixed class name usage in TaggerGetRelatedWhere snippet --- .../tagger/elements/snippets/TaggerGetRelatedWhere.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/components/tagger/elements/snippets/TaggerGetRelatedWhere.php b/core/components/tagger/elements/snippets/TaggerGetRelatedWhere.php index 4823a60..2d49ab7 100644 --- a/core/components/tagger/elements/snippets/TaggerGetRelatedWhere.php +++ b/core/components/tagger/elements/snippets/TaggerGetRelatedWhere.php @@ -136,7 +136,7 @@ $tags = []; -if ($collection = $modx->getIterator('TaggerTag', $c)) { +if ($collection = $modx->getIterator(TaggerTag::class, $c)) { foreach ($collection as $tag) { $tags[] = $tag->get('alias'); } @@ -153,4 +153,4 @@ $output = $modx->runSnippet('TaggerGetResourcesWhere', $scriptProperties); } -return $output; \ No newline at end of file +return $output;