mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9820] phpBB Debug Error when trying to post a new topic.
Regression from aa4519fb44
PHPBB3-9820
PHPBB3-7260
This commit is contained in:
parent
05c88bb00d
commit
ffd9437948
1 changed files with 12 additions and 9 deletions
|
@ -402,6 +402,8 @@ if ($post_data['poll_start'])
|
|||
$db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
if ($mode == 'edit')
|
||||
{
|
||||
$original_poll_data = array(
|
||||
'poll_title' => $post_data['poll_title'],
|
||||
'poll_length' => $post_data['poll_length'],
|
||||
|
@ -411,6 +413,7 @@ $original_poll_data = array(
|
|||
'poll_last_vote' => $post_data['poll_last_vote'],
|
||||
'poll_vote_change' => $post_data['poll_vote_change'],
|
||||
);
|
||||
}
|
||||
|
||||
$orig_poll_options_size = sizeof($post_data['poll_options']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue