]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix bug reported bu Raúl Prieto Fernández
authorLaurent Destailleur <eldy@destailleur.fr>
Fri, 5 Jun 2020 11:16:24 +0000 (13:16 +0200)
committerLaurent Destailleur <eldy@destailleur.fr>
Fri, 5 Jun 2020 11:16:24 +0000 (13:16 +0200)
wwwroot/cgi-bin/awstats.pl

index 3a3d4c6f2cde305ad61e9b26d9eef9bb51fda31f..01bccb52a2eb19f12f570b6a4c0052327e48216e 100755 (executable)
@@ -10059,8 +10059,8 @@ sub HTMLTopBanner{
                                if (!$HourRequired) {
                                        $HourRequired = $nowhour; 
                                }
-                               print "<select class=\"aws_formfield\" name=\"day\">\n";
-                               foreach ( 1 .. 31 ) {
+                               print "<select class=\"aws_formfield\" name=\"hour\">\n";
+                               foreach ( 0 .. 23 ) {
                                        print "<option"
                                          . ( $HourRequired eq "$_" ? " selected=\"selected\"" : "" )
                                          . " value=\"$_\">$_</option>\n";