summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-27 17:18:02 +0100
committerlsces <lester@lsces.co.uk>2025-08-27 17:18:02 +0100
commit768948b85f948653d0882da2698f1bdde59a0e4d (patch)
tree3b9530af0c345b90e522c059ffc0544faeffe9e6 /templates
parentfff657e9b266f0641fa53c2aff86eb8c836c13ef (diff)
downloadrss-768948b85f948653d0882da2698f1bdde59a0e4d.tar.gz
rss-768948b85f948653d0882da2698f1bdde59a0e4d.tar.bz2
rss-768948b85f948653d0882da2698f1bdde59a0e4d.zip
Code updated to PHP8.4 and namespace
Diffstat (limited to 'templates')
-rw-r--r--templates/html_head_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl
index b245010..6af4972 100644
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
@@ -3,7 +3,7 @@
<link rel="rss feeds" title="{tr}RSS Syndication{/tr}" href="{$smarty.const.RSS_PKG_URL}" />
{/if}
-{if $gBitSystem->isPackageActive( 'rss' ) and $feedlink.url}
+{if $gBitSystem->isPackageActive( 'rss' ) and !empty($feedlink.url)}
<link rel="alternate" type="application/rss+xml" title="{$feedlink.title|escape}" href="{$feedlink.url}" />
{/if}
{/strip}