diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index a93c3bc48f..6b69f086c0 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -116,6 +116,7 @@ p,ul,td {font-size:10pt;}
Prevent registration if user is logged in or user trying to register a second time
Prevent usage of ALT-255 in Usernames
Fixed IP retrieval for users with two proxy setups while the first proxy is hiding the clients IP Address - cosmos
+If user votes in poll without selecting an option, he will be redirected to the topic.
1.ii. Changes since 2.0.3
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 8359f365a4..87a320b1a2 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -512,6 +512,10 @@ else if ( $mode == 'vote' )
$message .= '
' . sprintf($lang['Click_view_message'], '', '');
message_die(GENERAL_MESSAGE, $message);
}
+ else
+ {
+ redirect(append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));
+ }
}
else if ( $submit || $confirm )
{
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 8c5b74b80a..e1cea49b0d 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -792,7 +792,7 @@ if ( !empty($forum_topic_data['topic_vote']) )
$vote_title = preg_replace($orig_word, $replacement_word, $vote_title);
}
- $s_hidden_fields = '';
+ $s_hidden_fields .= '';
$template->assign_vars(array(
'POLL_QUESTION' => $vote_title,