From 8e5ecb9f7b4f3507acaaf5a40b4243b5db1e5e14 Mon Sep 17 00:00:00 2001 From: HWFord <54360213+HWFord@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:52:55 +0100 Subject: [PATCH] fixes #2473 check if related tags are not empty --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 3c067a11c..a2ab1f9ac 100644 --- a/index.php +++ b/index.php @@ -423,7 +423,7 @@ if ( empty($page['is_external']) ) $template->assign( array( - 'RELATED_TAGS_ACTION' => true, + 'RELATED_TAGS_ACTION' => !empty($related_tags) ? true : false, 'RELATED_TAGS' => $related_tags, ) );