summaryrefslogtreecommitdiff
path: root/templates/user_stats.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_stats.tpl')
-rw-r--r--templates/user_stats.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_stats.tpl b/templates/user_stats.tpl
index 89cf28e..a5f8f50 100644
--- a/templates/user_stats.tpl
+++ b/templates/user_stats.tpl
@@ -20,7 +20,7 @@
<tr class="{cycle values="even,odd"}">
<td>{$timeframe}</td>
<td>
- {if $gBitSystem->isFeatureActive( 'stats_referers' ) and $gBitUser->hasPermission( 'p_stats_view_referer' )}
+ {if $gBitSystem->isFeatureActive( 'stats_referers' ) && $gBitUser->hasPermission( 'p_stats_view_referer' )}
[<a href="{$smarty.const.STATS_PKG_URL}referrers.php?period={$smarty.request.period}&amp;timeframe={$timeframe|urlencode}">Referrers</a>]
{/if}
</td>