aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewmessage.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-11-09 02:22:39 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2014-11-09 02:22:39 +0100
commitced316d88c54af692044891e4e582847619d111b (patch)
tree76eef88fee5c98d15c1e5e8412f255b534d22811 /phpBB/includes/ucp/ucp_pm_viewmessage.php
parent101945acf98b7fb765a90288bc7dd403ee610dd5 (diff)
downloadforums-ced316d88c54af692044891e4e582847619d111b.tar
forums-ced316d88c54af692044891e4e582847619d111b.tar.gz
forums-ced316d88c54af692044891e4e582847619d111b.tar.bz2
forums-ced316d88c54af692044891e4e582847619d111b.tar.xz
forums-ced316d88c54af692044891e4e582847619d111b.zip
[ticket/13300] Don't show jabber in profile if jabber is disabled
PHPBB3-13300
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewmessage.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index b2dc962f57..888c2e6825 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -197,7 +197,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
$u_pm = append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;mode=compose&amp;u=' . $author_id);
}
- if ($user_info['user_jabber'] && $auth->acl_get('u_sendim'))
+ if ($config['jab_enable'] && $user_info['user_jabber'] && $auth->acl_get('u_sendim'))
{
$u_jabber = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&amp;action=jabber&amp;u=' . $author_id);
}