From 5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 27 Mar 2026 16:15:39 +0000 Subject: Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones. (This was a legacy mod) --- templates/html_head_inc.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 6af4972..9600bcd 100644 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -1,9 +1,9 @@ {strip} -{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'site_header_extended_nav' )} +{if $gBitSystem->isPackageActive( 'rss' ) && $gBitSystem->isFeatureActive( 'site_header_extended_nav' )} {/if} -{if $gBitSystem->isPackageActive( 'rss' ) and !empty($feedlink.url)} +{if $gBitSystem->isPackageActive( 'rss' ) && !empty($feedlink.url)} {/if} {/strip} -- cgit v1.3