Skip to content

Commit 489507a

Browse files
authored
Use correct method for tags
1 parent 9164b98 commit 489507a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/twig/variables/FeedMeVariable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function getElementLayoutByField($type, $field)
200200
$source = Craft::$app->sections->getEntryTypeById($section->id);
201201
}
202202
} else if ($type === 'craft\fields\Tags') {
203-
$source = $this->getCategorySourcesByField($field) ?? null;
203+
$source = $this->getTagSourcesByField($field) ?? null;
204204
}
205205

206206
if (!$source || !$source->fieldLayoutId) {

0 commit comments

Comments
 (0)