aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-07 12:36:31 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-07 12:36:31 +0000
commitf8528a659c919d7bc1e78c5aacc95e27cddec627 (patch)
treebb70865f922867a83fa144f315ad40014a982e2b /phpBB/posting.php
parente87f740a9e7a048b7900d92ede04f405a337441c (diff)
downloadforums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar
forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.gz
forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.bz2
forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.xz
forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.zip
tried to begin adjusting all string functions where applicable - still a *lot* to do.
i hope i catched all relevant sections and did not mess something up. git-svn-id: file:///svn/phpbb/trunk@6452 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 a1c8f4088d..b8f50d657d 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -532,9 +532,9 @@ if ($submit || $preview || $refresh)
// 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'], strtoupper($post_data['post_subject'])) == 0)
+ 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'] = strtolower($post_data['post_subject']);
+ $post_data['post_subject'] = utf8_strtolower($post_data['post_subject']);
}
$message_parser->message = request_var('message', '', true);