Revert "Fix outgoing_fw monday checkbox."
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 23 Jan 2010 16:04:25 +0000 (17:04 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 23 Jan 2010 16:04:25 +0000 (17:04 +0100)
This reverts commit 1d6384bed903eb6c42f20881ecf3bca0d8f33d43.

html/cgi-bin/outgoingfw.cgi

index 3b740ab..ed87e0d 100644 (file)
@@ -217,7 +217,7 @@ if ($outfwsettings{'ACTION'} eq $Lang::tr{'edit'})
        {
                @configline = split( /\;/, $configentry );
                
-               $configline[10] =  "on" if not exists $configline[10];
+               $configline[10] =  "on" if not exists $configline[11];
                $configline[11] =  "on" if not exists $configline[11];
                $configline[12] =  "on" if not exists $configline[12];
                $configline[13] =  "on" if not exists $configline[13];
@@ -270,7 +270,7 @@ if ($outfwsettings{'ACTION'} eq $Lang::tr{'delete'})
        {
                @configline = split( /\;/, $configentry );
                
-               $configline[10] =  "on" if not exists $configline[10];
+               $configline[10] =  "on" if not exists $configline[11];
                $configline[11] =  "on" if not exists $configline[11];
                $configline[12] =  "on" if not exists $configline[12];
                $configline[13] =  "on" if not exists $configline[13];
@@ -377,7 +377,7 @@ END
                                $outfwsettings{'DPORT'} = $configline[8];
                                $outfwsettings{'LOG'} = $configline[9];
                                
-                               $configline[10] =  "on" if not exists $configline[10];
+                               $configline[10] =  "on" if not exists $configline[11];
                                $configline[11] =  "on" if not exists $configline[11];
                                $configline[12] =  "on" if not exists $configline[12];
                                $configline[13] =  "on" if not exists $configline[13];