Skip to content

Commit

Permalink
[ticket/12025] Apply DeMorgan
Browse files Browse the repository at this point in the history
PHPBB3-12025
  • Loading branch information
Nicofuma committed May 5, 2014
1 parent 7af9f41 commit 0061067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/posting.php
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
$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']);
}
Expand Down

0 comments on commit 0061067

Please sign in to comment.