From 44ab877fba81892abff9aeffa82ae19c68f32132 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 23 Mar 2002 22:18:04 +0000 Subject: Various bug fixes, polls, Guest vs. Anonymous, quoting guests git-svn-id: file:///svn/phpbb/trunk@2415 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index c6d82a71f6..61dbc349c1 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -763,7 +763,8 @@ else $msg_date = create_date($board_config['default_dateformat'], $postrow['post_time'], $board_config['board_timezone']); - $message = '[quote="' . $post_info['username'] . '"]' . $message . '[/quote]'; + $quote_username = ( !empty($post_info['post_username']) ) ? $post_info['post_username'] : $post_info['username']; + $message = '[quote="' . $quote_username . '"]' . $message . '[/quote]'; if ( !empty($orig_word) ) { -- cgit v1.2.1