diff options
| author | natec <natec@users.sourceforge.net> | 2001-11-25 23:31:04 +0000 |
|---|---|---|
| committer | natec <natec@users.sourceforge.net> | 2001-11-25 23:31:04 +0000 |
| commit | dbb0ce8eeeeb9091d814e673b047253909c0d8c7 (patch) | |
| tree | 910c94ff8472fabd8cb09a083dd67f71408765e7 /phpBB/posting.php | |
| parent | a25d1820f584595a8d55398358f4ebfd8e165773 (diff) | |
| download | forums-dbb0ce8eeeeb9091d814e673b047253909c0d8c7.tar forums-dbb0ce8eeeeb9091d814e673b047253909c0d8c7.tar.gz forums-dbb0ce8eeeeb9091d814e673b047253909c0d8c7.tar.bz2 forums-dbb0ce8eeeeb9091d814e673b047253909c0d8c7.tar.xz forums-dbb0ce8eeeeb9091d814e673b047253909c0d8c7.zip | |
Fixed bug 478218 -- [ and ] in usernames qith quote= bbcode. Usernames can no longer contain the double-quote character. Also removed a dupe from lang_main file.
git-svn-id: file:///svn/phpbb/trunk@1441 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index c6a70d5372..7be2c1512b 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1040,7 +1040,7 @@ if( $submit && $mode != "vote" ) { $error_msg .= "<br />"; } - $error_msg .= $lang['Bad_username']; + $error_msg .= $lang['Invalid_username']; } } else @@ -2358,7 +2358,7 @@ else $msg_date = create_date($board_config['default_dateformat'], $postrow['post_time'], $board_config['board_timezone']); - $post_message = "[quote=" . $post_username . "]\n" . $post_message . "\n[/quote]"; + $post_message = "[quote=\"" . $post_username . "\"]\n" . $post_message . "\n[/quote]"; $mode = "reply"; } |
