aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-28 21:18:01 +0200
committerNicofuma <github@nicofuma.fr>2014-04-28 21:18:01 +0200
commit7af9f41e4f2a179065ce42dfb0755ecf3459add7 (patch)
treeedd088d8aa0b66b92cb7501576304bbea7a1b02b /phpBB
parent8facf2b8d9980ef92ad519ebf004e1bdc1c4d287 (diff)
downloadforums-7af9f41e4f2a179065ce42dfb0755ecf3459add7.tar
forums-7af9f41e4f2a179065ce42dfb0755ecf3459add7.tar.gz
forums-7af9f41e4f2a179065ce42dfb0755ecf3459add7.tar.bz2
forums-7af9f41e4f2a179065ce42dfb0755ecf3459add7.tar.xz
forums-7af9f41e4f2a179065ce42dfb0755ecf3459add7.zip
[ticket/12025] Fixing the condition....
PHPBB3-12025
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 47b366fce0..9a3df73701 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']);
}