From 6567b4524a6e5459ff5f102e82aac820843952b2 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 3 Nov 2001 13:57:29 +0000 Subject: [PATCH] Fixed various issues and bugs git-svn-id: file:///svn/phpbb/trunk@1261 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 0970521794..8c8482a9a1 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -546,7 +546,7 @@ if($total_topics) $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id"); $topic_poster = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? "" : ""; - $topic_poster .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : $topic_rowset[$i]['post_username']; + $topic_poster .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != "" ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] ); $topic_poster .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? "" : ""; $last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);