diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-11-09 02:22:39 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-11-09 02:22:39 +0100 |
commit | ced316d88c54af692044891e4e582847619d111b (patch) | |
tree | 76eef88fee5c98d15c1e5e8412f255b534d22811 /phpBB/viewtopic.php | |
parent | 101945acf98b7fb765a90288bc7dd403ee610dd5 (diff) | |
download | forums-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/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 7bedcdfb49..30beea337a 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1247,7 +1247,7 @@ while ($row = $db->sql_fetchrow($result)) 'contact_user' => $user->lang('CONTACT_USER', get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['username'])), 'online' => false, - 'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '', + 'jabber' => ($config['jab_enable'] && $row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '', 'search' => ($config['load_search'] && $auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '', 'author_full' => get_username_string('full', $poster_id, $row['username'], $row['user_colour']), |