aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-10-17 18:30:59 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-10-17 18:30:59 +0200
commit003fe8708030a592d20f886fce6f1a2e39df6ffc (patch)
treebc381559db7ad5f4fbf27546f9b6dfa363016fae
parentb8f37a5024c3fbda51c76f3990e6dd2059892837 (diff)
parent07a8d5a3dd44ea859c721b159a1fe9927dd78a7c (diff)
downloadforums-003fe8708030a592d20f886fce6f1a2e39df6ffc.tar
forums-003fe8708030a592d20f886fce6f1a2e39df6ffc.tar.gz
forums-003fe8708030a592d20f886fce6f1a2e39df6ffc.tar.bz2
forums-003fe8708030a592d20f886fce6f1a2e39df6ffc.tar.xz
forums-003fe8708030a592d20f886fce6f1a2e39df6ffc.zip
Merge branch 'ticket/igorw/9162' into develop-olympus
* ticket/igorw/9162: [ticket/9162] Prevent notice on unset poll title
-rw-r--r--phpBB/posting.php2
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'];