1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@7958 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-07-27 14:55:48 +00:00
parent ecc8adf347
commit 1a54132759
3 changed files with 5 additions and 5 deletions

View File

@@ -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'];
}