--- a/branches/2.5.4RC1/cgi-bin/yabb2/Sources/ModifyMessage.pm
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Sources/ModifyMessage.pm
@@ -15,7 +15,7 @@
 our $VERSION = '2.5.41';
 use CGI::Carp qw(fatalsToBrowser);
 
-$modifymessagepmver = 'YaBB 2.5.4 RC1 $Revision: 1308 $';
+$modifymessagepmver = 'YaBB 2.5.4 RC1 $Revision: 1390 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 if ( !$post_txt_loaded ) {
@@ -333,6 +333,7 @@
         if ( !$poll_end_min || $poll_end_min =~ /\D/xsm ) {
             $poll_end_min = q{};
         }
+        my $poll_end = q{};
         if ($poll_end_days) { $poll_end = $poll_end_days * 86_400; }
         if ($poll_end_min) { $poll_end += $poll_end_min * 60; }
         if ($poll_end)     { $poll_end += $date; }