aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authornatec <natec@users.sourceforge.net>2001-11-25 23:31:04 +0000
committernatec <natec@users.sourceforge.net>2001-11-25 23:31:04 +0000
commitdbb0ce8eeeeb9091d814e673b047253909c0d8c7 (patch)
tree910c94ff8472fabd8cb09a083dd67f71408765e7 /phpBB/posting.php
parenta25d1820f584595a8d55398358f4ebfd8e165773 (diff)
downloadforums-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.php4
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";
}