firewall: Fix firewall policy table if only RED, GREEN + BLUE are present.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Feb 2014 19:53:25 +0000 (20:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Feb 2014 19:53:25 +0000 (20:53 +0100)
html/cgi-bin/firewall.cgi

index ce8d0f3..7b75765 100644 (file)
@@ -2792,14 +2792,16 @@ END
                                                <font color="$Header::colourorange">$Lang::tr{'orange'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
+END
+                       }
+
+                       print <<END;
                                        <td align='center'>
                                                <font color="$Header::colourgreen">$Lang::tr{'green'}</font>
                                                ($Lang::tr{'fwdfw pol block'})
                                        </td>
+                               </tr>
 END
-                       }
-
-                       print"</tr>";
                }
 
                print <<END;