aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 41e710f..c7f1642 100644
--- a/index.php
+++ b/index.php
@@ -9,7 +9,7 @@ html_start();
9$h = array(); 9$h = array();
10 10
11# show all categorized hosts 11# show all categorized hosts
12if (is_array($CONFIG['cat'])) { 12if (isset($CONFIG['cat']) && is_array($CONFIG['cat'])) {
13 foreach($CONFIG['cat'] as $cat => $hosts) { 13 foreach($CONFIG['cat'] as $cat => $hosts) {
14 host_summary($cat, $hosts); 14 host_summary($cat, $hosts);
15 $h = array_merge($h, $hosts); 15 $h = array_merge($h, $hosts);