mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9162] BBCode in poll options is broken, when posting without question.
PHPBB3-9162
This commit is contained in:
parent
05c88bb00d
commit
a81c857c96
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue