From 8a5cb4a026e9e3f9f687cb192c2f10806a3f14f1 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sat, 14 Jun 2014 15:57:20 +0200 Subject: [ticket/12680] Little changes, but some issues are still there PHPBB3-12680 --- phpBB/viewtopic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index be35b7baa0..10be5a09cb 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1061,7 +1061,6 @@ while ($row = $db->sql_fetchrow($result)) 'post_time' => $row['post_time'], 'user_id' => $row['user_id'], 'username' => $row['username'], - 'contact_user' => $user->lang('CONTACT_USER', $row['username']), 'user_colour' => $row['user_colour'], 'topic_id' => $row['topic_id'], 'forum_id' => $row['forum_id'], @@ -1198,6 +1197,7 @@ while ($row = $db->sql_fetchrow($result)) 'username' => $row['username'], 'user_colour' => $row['user_colour'], + 'contact_user' => $user->lang('CONTACT_USER', $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") : '', @@ -1699,7 +1699,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'], 'POSTER_WARNINGS' => $auth->acl_get('m_warn') ? $user_cache[$poster_id]['warnings'] : '', 'POSTER_AGE' => $user_cache[$poster_id]['age'], - 'CONTACT_USER' => $row['contact_user'], + 'CONTACT_USER' => $user_cache_data['contact_user'], 'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false), 'POST_SUBJECT' => $row['post_subject'], -- cgit v1.2.1