diff options
| author | David M <davidmj@users.sourceforge.net> | 2007-02-25 05:38:15 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2007-02-25 05:38:15 +0000 |
| commit | 6f426ddf0f25cd84cc042a4c843b75c55f322c9d (patch) | |
| tree | 3ab4bf343f4feb7736eef4321018506638426e74 /phpBB/includes/ucp/ucp_pm_compose.php | |
| parent | 99b6c76aae0a89d3b3ef9440752a0b0d2d51dc6b (diff) | |
| download | forums-6f426ddf0f25cd84cc042a4c843b75c55f322c9d.tar forums-6f426ddf0f25cd84cc042a4c843b75c55f322c9d.tar.gz forums-6f426ddf0f25cd84cc042a4c843b75c55f322c9d.tar.bz2 forums-6f426ddf0f25cd84cc042a4c843b75c55f322c9d.tar.xz forums-6f426ddf0f25cd84cc042a4c843b75c55f322c9d.zip | |
#8292
git-svn-id: file:///svn/phpbb/trunk@7058 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index c228e8daba..fed72402f2 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -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); |
