1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00
git-svn-id: file:///svn/phpbb/trunk@7058 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-02-25 05:38:15 +00:00
parent 99b6c76aae
commit 6f426ddf0f
2 changed files with 8 additions and 1 deletions

View File

@@ -528,6 +528,12 @@ function compose_pm($id, $mode, $action)
}
}
// On a refresh we do not care about message parsing errors
if (sizeof($message_parser->warn_msg) && $refresh)
{
$message_parser->warn_msg = array();
}
if (sizeof($message_parser->warn_msg) && !($remove_u || $remove_g || $add_to || $add_bcc))
{
$error[] = implode('<br />', $message_parser->warn_msg);