From a81c857c96ee1a2a9be559ff3c9b71ca9514287e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 14 Sep 2010 13:20:38 +0200 Subject: [PATCH] [ticket/9162] BBCode in poll options is broken, when posting without question. PHPBB3-9162 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];