From 5e6b13d123a56bb1e4b3e9c30500f805e49facc8 Mon Sep 17 00:00:00 2001 From: lsces Date: Wed, 22 Jun 2016 20:26:35 +0100 Subject: update for BitSystem::get(set)ActivePackage() instead of ACTIVE_PACKAGE --- templates/html_head_inc.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' )} {/if} {/strip} -- cgit v1.3