aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-27 14:55:48 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-27 14:55:48 +0000
commit1a5413275978a307d200d0b52cc30c75da003669 (patch)
treeb986220c2adef6c034b8e5a519487f4521196da4 /phpBB/includes
parentecc8adf3470d0526e98f0c26d696132798880cc5 (diff)
downloadforums-1a5413275978a307d200d0b52cc30c75da003669.tar
forums-1a5413275978a307d200d0b52cc30c75da003669.tar.gz
forums-1a5413275978a307d200d0b52cc30c75da003669.tar.bz2
forums-1a5413275978a307d200d0b52cc30c75da003669.tar.xz
forums-1a5413275978a307d200d0b52cc30c75da003669.zip
#13800
git-svn-id: file:///svn/phpbb/trunk@7958 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php4
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 56a11afe33..e81c572ddf 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -481,7 +481,7 @@ function compose_pm($id, $mode, $action)
}
else
{
- if (!$subject)
+ if (!$subject || !utf8_clean_string($subject))
{
$error[] = $user->lang['EMPTY_MESSAGE_SUBJECT'];
}
@@ -583,7 +583,7 @@ function compose_pm($id, $mode, $action)
// Subject defined
if ($submit)
{
- if (!$subject)
+ if (!$subject || !utf8_clean_string($subject))
{
$error[] = $user->lang['EMPTY_MESSAGE_SUBJECT'];
}