aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index b6db54943..49415c776 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1476,7 +1476,10 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
$nickname = $channel['channel_address'];
$uid = (($a->profile['profile_uid']) ? $a->profile['profile_uid'] : local_user());
-
+
+ if (get_pconfig($uid,system,noprofiletabs))
+ return;
+
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));