diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-09-14 13:20:38 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-09-14 13:20:38 +0200 |
commit | a81c857c96ee1a2a9be559ff3c9b71ca9514287e (patch) | |
tree | ea5e9c5913a35f0ac0493f5b585074dd16d35766 | |
parent | 05c88bb00d821f1fed8831e231f2302eb6df6125 (diff) | |
download | forums-a81c857c96ee1a2a9be559ff3c9b71ca9514287e.tar forums-a81c857c96ee1a2a9be559ff3c9b71ca9514287e.tar.gz forums-a81c857c96ee1a2a9be559ff3c9b71ca9514287e.tar.bz2 forums-a81c857c96ee1a2a9be559ff3c9b71ca9514287e.tar.xz forums-a81c857c96ee1a2a9be559ff3c9b71ca9514287e.zip |
[ticket/9162] BBCode in poll options is broken, when posting without question.
PHPBB3-9162
-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 8cacac2910..7c36f40ca7 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1297,7 +1297,7 @@ $attachment_data = $message_parser->attachment_data; $filename_data = $message_parser->filename_data; $post_data['post_text'] = $message_parser->message; -if (sizeof($post_data['poll_options']) && $post_data['poll_title']) +if (sizeof($post_data['poll_options']) || $post_data['poll_title']) { $message_parser->message = $post_data['poll_title']; $message_parser->bbcode_uid = $post_data['bbcode_uid']; |