mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
- fixing some bugs, containing fixes for anonymous username displays, eaccelerator issue, permission trace and a few smaller bugs.
git-svn-id: file:///svn/phpbb/trunk@5858 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -810,10 +810,10 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
|
||||
$poster = $row['username'];
|
||||
|
||||
// Handle anon users posting with usernames
|
||||
if ($poster_id == ANONYMOUS && $row['post_username'])
|
||||
if ($poster_id == ANONYMOUS)
|
||||
{
|
||||
$poster = $row['post_username'];
|
||||
$poster_rank = $user->lang['GUEST'];
|
||||
$poster = ($row['post_username']) ? $row['post_username'] : $user->lang['GUEST'];
|
||||
$poster_rank = ($row['post_username']) ? $user->lang['GUEST'] : '';
|
||||
}
|
||||
|
||||
$post_subject = $row['post_subject'];
|
||||
|
Reference in New Issue
Block a user