mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
git-svn-id: file:///svn/phpbb/trunk@7958 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user