From af60861cfd13d1226776ecf85a163a4061a731b5 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Tue, 10 Jun 2014 19:34:32 +0200 Subject: [PATCH] [ticket/12680] Removes unnessesary $user->lang from CONTACT_USER PHPBB3-12680 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 0845ed0039..be35b7baa0 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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' => $user->lang($row['contact_user']), + 'CONTACT_USER' => $row['contact_user'], 'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false), 'POST_SUBJECT' => $row['post_subject'],