diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 15:47:55 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 15:47:55 +0000 |
| commit | f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53 (patch) | |
| tree | 6e6c0b0e17673899d6997c365cf8d219865a8216 /phpBB/posting.php | |
| parent | 66c78d114b1ea23d0d3dd55eaa2a0f55dbcd06f2 (diff) | |
| download | forums-f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53.tar forums-f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53.tar.gz forums-f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53.tar.bz2 forums-f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53.tar.xz forums-f27edc4b5beb62cd43c8c0ebe58fd4f5abeb4e53.zip | |
for some things we do not need the utf8 function. :)
git-svn-id: file:///svn/phpbb/trunk@6455 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index b8f50d657d..f6941369a7 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -529,14 +529,6 @@ if ($submit || $preview || $refresh) { $post_data['topic_cur_post_id'] = request_var('topic_cur_post_id', 0); $post_data['post_subject'] = request_var('subject', '', true); - - // If subject is all-uppercase then we make all lowercase (we do not want to be yelled at too :P) - // Admins/Mods might want to create all-uppercase topics, therefore we do not apply this check to them (they should know better ;)) - if ($post_data['post_subject'] && !$auth->acl_gets('a_', 'm_', $forum_id) && strcmp($post_data['post_subject'], utf8_strtoupper($post_data['post_subject'])) === 0) - { - $post_data['post_subject'] = utf8_strtolower($post_data['post_subject']); - } - $message_parser->message = request_var('message', '', true); $post_data['username'] = request_var('username', $post_data['username']); |
