diff options
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 8a4f0f4adc..fcf4eacf0b 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -540,6 +540,7 @@ if ($keywords || $author || $search_id || $search_session_id) $tpl_ary = array( 'POSTER_NAME' => ($row['poster_id'] == ANONYMOUS) ? ((!empty($row['post_username'])) ? $row['post_username'] : $user->lang['GUEST']) : $row['username'], + 'U_PROFILE' => ($row['poster_id'] != ANONYMOUS) ? "{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u={$row['poster_id']}" : '', 'POST_SUBJECT' => censor_text($row['post_subject']), 'POST_DATE' => (!empty($row['post_time'])) ? $user->format_date($row['post_time']) : '', 'MESSAGE' => $row['post_text'] |