From d2ca89dfb77d6b793320662697ea15459de31fdb Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 17 Oct 2022 16:33:09 +0200 Subject: [PATCH] related to #1755 Fixing no url problem when title doesn't exist --- themes/default/template/menubar_related_categories.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/default/template/menubar_related_categories.tpl b/themes/default/template/menubar_related_categories.tpl index 3ad4d2aae..302421c60 100644 --- a/themes/default/template/menubar_related_categories.tpl +++ b/themes/default/template/menubar_related_categories.tpl @@ -11,10 +11,10 @@ {''|@str_repeat:($ref_level-$cat.LEVEL)} {/if}
  • - {if isset($cat.url) and isset($cat.TITLE)} - {$cat.name} + {if isset($cat.TITLE)} + {$cat.name} {else} - {$cat.name} + {$cat.name} {/if} {if isset($cat.count_images) and $cat.count_images > 0} {$cat.count_images}