diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ html_start(); | |||
9 | $h = array(); | 9 | $h = array(); |
10 | 10 | ||
11 | # show all categorized hosts | 11 | # show all categorized hosts |
12 | if (is_array($CONFIG['cat'])) { | 12 | if (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); |