aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-03 13:57:29 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-03 13:57:29 +0000
commit6567b4524a6e5459ff5f102e82aac820843952b2 (patch)
treea2a387e10f31c2cc8634f502413161923fefd28d
parent5251423378286dca84dbbf30f7112c8ac0dcb7cd (diff)
downloadforums-6567b4524a6e5459ff5f102e82aac820843952b2.tar
forums-6567b4524a6e5459ff5f102e82aac820843952b2.tar.gz
forums-6567b4524a6e5459ff5f102e82aac820843952b2.tar.bz2
forums-6567b4524a6e5459ff5f102e82aac820843952b2.tar.xz
forums-6567b4524a6e5459ff5f102e82aac820843952b2.zip
Fixed various issues and bugs
git-svn-id: file:///svn/phpbb/trunk@1261 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/viewforum.php2
1 files changed, 1 insertions, 1 deletions
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 ) ? "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $topic_rowset[$i]['user_id']) . "\">" : "";
- $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 ) ? "</a>" : "";
$last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);