diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-23 22:18:04 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-23 22:18:04 +0000 |
| commit | 44ab877fba81892abff9aeffa82ae19c68f32132 (patch) | |
| tree | 821bf1856ea0809a7acb6e4391e6344d24bd34b6 /phpBB/posting.php | |
| parent | 1b8dbdb73e786803ecfeead81712a14c91f16376 (diff) | |
| download | forums-44ab877fba81892abff9aeffa82ae19c68f32132.tar forums-44ab877fba81892abff9aeffa82ae19c68f32132.tar.gz forums-44ab877fba81892abff9aeffa82ae19c68f32132.tar.bz2 forums-44ab877fba81892abff9aeffa82ae19c68f32132.tar.xz forums-44ab877fba81892abff9aeffa82ae19c68f32132.zip | |
Various bug fixes, polls, Guest vs. Anonymous, quoting guests
git-svn-id: file:///svn/phpbb/trunk@2415 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 2 insertions, 1 deletions
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) ) { |
