aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-04-15 14:48:36 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-04-15 14:48:36 +0000
commit84738055a25081070f570b40a19e05db21908237 (patch)
tree3bf59d91eba8d7b7b000ba5a5cd0e63e0e82b122 /phpBB/posting.php
parent0562395c27cd6cafcaacd3798f6a51d8cc703c7a (diff)
downloadforums-84738055a25081070f570b40a19e05db21908237.tar
forums-84738055a25081070f570b40a19e05db21908237.tar.gz
forums-84738055a25081070f570b40a19e05db21908237.tar.bz2
forums-84738055a25081070f570b40a19e05db21908237.tar.xz
forums-84738055a25081070f570b40a19e05db21908237.zip
- fixed some bugs
- made sql schemas consistent - added correct sequences and generators to sql schemas - extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc. - allow multibyte characters in usernames git-svn-id: file:///svn/phpbb/trunk@5784 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 121314da7e..646002a696 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -528,7 +528,7 @@ if ($submit || $preview || $refresh)
$message_parser->message = request_var('message', '', true);
- $username = (isset($_POST['username'])) ? request_var('username', '') : $username;
+ $username = (isset($_POST['username'])) ? request_var('username', '', true) : $username;
$post_edit_reason = (isset($_POST['edit_reason']) && !empty($_POST['edit_reason']) && $mode == 'edit' && $user->data['user_id'] != $poster_id) ? request_var('edit_reason', '', true) : '';
$topic_type = (isset($_POST['topic_type'])) ? (int) $_POST['topic_type'] : (($mode != 'post') ? $topic_type : POST_NORMAL);