summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-06-22 20:26:35 +0100
committerlsces <lester@lsces.co.uk>2016-06-22 20:26:35 +0100
commit5e6b13d123a56bb1e4b3e9c30500f805e49facc8 (patch)
treebb5c3d12a6f86f223ea72618600ff95dd6c2da0e
parent4ca3b5d485889ff7ed9ecb7de8e85ae5e947c246 (diff)
downloadarticles-5e6b13d123a56bb1e4b3e9c30500f805e49facc8.tar.gz
articles-5e6b13d123a56bb1e4b3e9c30500f805e49facc8.tar.bz2
articles-5e6b13d123a56bb1e4b3e9c30500f805e49facc8.zip
update for BitSystem::get(set)ActivePackage() instead of ACTIVE_PACKAGE
-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 50ee3f5..76826a7 100644
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
@@ -1,6 +1,6 @@
{* $Header$ *}
{strip}
-{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'articles_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'articles' and $gBitUser->hasPermission( 'p_articles_read' )}
+{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'articles_rss' ) and $gBitSystem->getActivePackage() eq 'articles' and $gBitUser->hasPermission( 'p_articles_read' )}
<link rel="alternate" type="application/rss+xml" title="{$gBitSystem->getConfig('articles_rss_title',"{tr}Articles{/tr} RSS")}" href="{$smarty.const.ARTICLES_PKG_URL}articles_rss.php?version={$gBitSystem->getConfig('rssfeed_default_version',0)}" />
{/if}
{/strip}