]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix outgoing_fw monday checkbox.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 23 Jan 2010 14:46:55 +0000 (15:46 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 23 Jan 2010 14:48:51 +0000 (15:48 +0100)
html/cgi-bin/outgoingfw.cgi

index ed87e0d8a3ff813787d220b69350b69056ff731e..3b740ab633b6f29d05c4e71f39115a294213d768 100644 (file)
@@ -217,7 +217,7 @@ if ($outfwsettings{'ACTION'} eq $Lang::tr{'edit'})
        {
                @configline = split( /\;/, $configentry );
                
        {
                @configline = split( /\;/, $configentry );
                
-               $configline[10] =  "on" if not exists $configline[11];
+               $configline[10] =  "on" if not exists $configline[10];
                $configline[11] =  "on" if not exists $configline[11];
                $configline[12] =  "on" if not exists $configline[12];
                $configline[13] =  "on" if not exists $configline[13];
                $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 = split( /\;/, $configentry );
                
-               $configline[10] =  "on" if not exists $configline[11];
+               $configline[10] =  "on" if not exists $configline[10];
                $configline[11] =  "on" if not exists $configline[11];
                $configline[12] =  "on" if not exists $configline[12];
                $configline[13] =  "on" if not exists $configline[13];
                $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];
                                
                                $outfwsettings{'DPORT'} = $configline[8];
                                $outfwsettings{'LOG'} = $configline[9];
                                
-                               $configline[10] =  "on" if not exists $configline[11];
+                               $configline[10] =  "on" if not exists $configline[10];
                                $configline[11] =  "on" if not exists $configline[11];
                                $configline[12] =  "on" if not exists $configline[12];
                                $configline[13] =  "on" if not exists $configline[13];
                                $configline[11] =  "on" if not exists $configline[11];
                                $configline[12] =  "on" if not exists $configline[12];
                                $configline[13] =  "on" if not exists $configline[13];