summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-11-13 19:01:59 +0100
committerAnika Henke <anika@selfthinker.org>2010-11-13 19:02:27 +0100
commite8bc5751ed12895c27ba23882497cbfce4df661e (patch)
treeed13f6b31abbe9e2ac3571dee9608ad3d43ece3b /inc/template.php
parent1172f8dcef2c8198ddcdaffcdf65a735811d20a3 (diff)
downloadrpg-e8bc5751ed12895c27ba23882497cbfce4df661e.tar.gz
rpg-e8bc5751ed12895c27ba23882497cbfce4df661e.tar.bz2
FS#2079: always show profile and subscribe links/buttons
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 00bfde723..e2ea6e386 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -609,7 +609,7 @@ function tpl_get_action($type) {
$type = 'subscribe';
$params['do'] = 'subscribe';
case 'subscribe':
- if(!$conf['useacl'] || !$auth || $ACT !== 'show' || !$conf['subscribers'] || !$_SERVER['REMOTE_USER']){
+ if(!$conf['useacl'] || !$auth || !$conf['subscribers'] || !$_SERVER['REMOTE_USER']){
return false;
}
break;
@@ -617,7 +617,7 @@ function tpl_get_action($type) {
break;
case 'profile':
if(!$conf['useacl'] || !$auth || !isset($_SERVER['REMOTE_USER']) ||
- !$auth->canDo('Profile') || ($ACT=='profile')){
+ !$auth->canDo('Profile')){
return false;
}
break;