diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-05 18:23:55 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-05 18:23:55 +0200 |
commit | 00610677152f073c4cded21a24f5ce92bbb39b8c (patch) | |
tree | 8f1cdac080cd41df0525f43b025ca3b4573a3f53 | |
parent | 7af9f41e4f2a179065ce42dfb0755ecf3459add7 (diff) | |
download | forums-00610677152f073c4cded21a24f5ce92bbb39b8c.tar forums-00610677152f073c4cded21a24f5ce92bbb39b8c.tar.gz forums-00610677152f073c4cded21a24f5ce92bbb39b8c.tar.bz2 forums-00610677152f073c4cded21a24f5ce92bbb39b8c.tar.xz forums-00610677152f073c4cded21a24f5ce92bbb39b8c.zip |
[ticket/12025] Apply DeMorgan
PHPBB3-12025
-rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 9a3df73701..89056f0f11 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -879,7 +879,7 @@ if ($submit || $preview || $refresh) $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']); } |