diff --git a/src/web/twig/variables/FeedMeVariable.php b/src/web/twig/variables/FeedMeVariable.php index 0e68f6a8..90a73ceb 100644 --- a/src/web/twig/variables/FeedMeVariable.php +++ b/src/web/twig/variables/FeedMeVariable.php @@ -200,7 +200,7 @@ public function getElementLayoutByField($type, $field) $source = Craft::$app->sections->getEntryTypeById($section->id); } } else if ($type === 'craft\fields\Tags') { - $source = $this->getCategorySourcesByField($field) ?? null; + $source = $this->getTagSourcesByField($field) ?? null; } if (!$source || !$source->fieldLayoutId) {