[ticket/12025] Apply DeMorgan

PHPBB3-12025
This commit is contained in:
Tristan Darricau 2014-05-05 18:23:55 +02:00
parent 7af9f41e4f
commit 0061067715

View file

@ -879,7 +879,7 @@ if ($submit || $preview || $refresh)
$message_parser->warn_msg = array(); $message_parser->warn_msg = array();
} }
if (! ($preview && empty($message_parser->message))) if (!$preview || !empty($message_parser->message))
{ {
$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']);
} }