mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12025] Post Preview no longer shows warnings
https://tracker.phpbb.com/browse/PHPBB3-12025 PHPBB3-12025
This commit is contained in:
parent
9eedd45aac
commit
0ef920eb42
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ if ($submit || $preview || $refresh)
|
||||||
$message_parser->parse($post_data['enable_bbcode'], ($config['allow_post_links']) ? $post_data['enable_urls'] : false, $post_data['enable_smilies'], $img_status, $flash_status, $quote_status, $config['allow_post_links']);
|
$message_parser->parse($post_data['enable_bbcode'], ($config['allow_post_links']) ? $post_data['enable_urls'] : false, $post_data['enable_smilies'], $img_status, $flash_status, $quote_status, $config['allow_post_links']);
|
||||||
|
|
||||||
// On a refresh we do not care about message parsing errors
|
// On a refresh we do not care about message parsing errors
|
||||||
if (sizeof($message_parser->warn_msg) && $refresh)
|
if (sizeof($message_parser->warn_msg) && $refresh && !$preview)
|
||||||
{
|
{
|
||||||
$message_parser->warn_msg = array();
|
$message_parser->warn_msg = array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue