diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-10-14 19:04:19 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-10-16 13:55:17 +0200 |
commit | 07a8d5a3dd44ea859c721b159a1fe9927dd78a7c (patch) | |
tree | 31f8771c3462c4b8b14a23071e35ce8098fa437e | |
parent | c439cdc61859b14080484ee0cb54cd11e1197e0a (diff) | |
download | forums-07a8d5a3dd44ea859c721b159a1fe9927dd78a7c.tar forums-07a8d5a3dd44ea859c721b159a1fe9927dd78a7c.tar.gz forums-07a8d5a3dd44ea859c721b159a1fe9927dd78a7c.tar.bz2 forums-07a8d5a3dd44ea859c721b159a1fe9927dd78a7c.tar.xz forums-07a8d5a3dd44ea859c721b159a1fe9927dd78a7c.zip |
[ticket/9162] Prevent notice on unset poll title
Regression from a81c857c96ee1a2a9be559ff3c9b71ca9514287e
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 853ac18aad..f775699cee 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1300,7 +1300,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']) || !empty($post_data['poll_title'])) { $message_parser->message = $post_data['poll_title']; $message_parser->bbcode_uid = $post_data['bbcode_uid']; |