diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index fc05c36290..1fa32f4290 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -448,9 +448,9 @@ function compose_pm($id, $mode, $action) { $subject = request_var('subject', '', true); - if (strcmp($subject, strtoupper($subject)) == 0 && $subject) + if ($subject && strcmp($subject, utf8_strtoupper($subject)) === 0) { - $subject = strtolower($subject); + $subject = utf8_strtolower($subject); } $message_parser->message = request_var('message', '', true); |