fixes #2473 check if related tags are not empty

This commit is contained in:
HWFord
2025-12-02 17:52:55 +01:00
parent 3da45eabac
commit 8e5ecb9f7b

View File

@@ -423,7 +423,7 @@ if ( empty($page['is_external']) )
$template->assign( $template->assign(
array( array(
'RELATED_TAGS_ACTION' => true, 'RELATED_TAGS_ACTION' => !empty($related_tags) ? true : false,
'RELATED_TAGS' => $related_tags, 'RELATED_TAGS' => $related_tags,
) )
); );