summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:16:45 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:16:45 +0000
commit7d55a7fd2b2b0087a127fb6c82405a221de82be7 (patch)
tree26364b97c37f87406a71db36c0c683437af45924
parent365bfac8fbcee3a37fb816a1a15c536d51915424 (diff)
downloadsearch-7d55a7fd2b2b0087a127fb6c82405a221de82be7.tar.gz
search-7d55a7fd2b2b0087a127fb6c82405a221de82be7.tar.bz2
search-7d55a7fd2b2b0087a127fb6c82405a221de82be7.zip
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. header_inc.tpl was a legacy mod
-rw-r--r--templates/header_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index bb85484..a3a99b8 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1,3 +1,3 @@
-{if $gBitSystem->isPackageActive( 'search' ) and $gBitSystem->isFeatureActive( 'site_header_extended_nav' )}
+{if $gBitSystem->isPackageActive( 'search' ) && $gBitSystem->isFeatureActive( 'site_header_extended_nav' )}
<link rel="search" title="{tr}Search{/tr}" href="{$smarty.const.SEARCH_PKG_URL}" />
{/if}