aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/pfstat.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/pfstat.php b/packages/pfstat.php
index 2791e3ae..5ef1ed38 100644
--- a/packages/pfstat.php
+++ b/packages/pfstat.php
@@ -53,6 +53,7 @@ include("fbegin.inc");
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php
+if($config['installedpackages']['pfstat']['config'] <> "") {
foreach($config['installedpackages']['pfstat']['config'] as $graph) {
echo "<table BORDERCOLOR=\"#990000\" width=\"100%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr bgcolor='#990000'><td><center><font color='white'>" . $graph['graphname'] . "</td></tr>\n";
@@ -64,6 +65,7 @@ include("fbegin.inc");
echo "</td></tr>\n";
echo "</table>&nbsp;<br>";
}
+}
?>
</form>