diff options
Diffstat (limited to '')
| -rw-r--r-- | host.php | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -15,7 +15,7 @@ printf("<fieldset id=\"%s\">", htmlentities($host)); | |||
| 15 | printf("<legend>%s</legend>", htmlentities($host)); | 15 | printf("<legend>%s</legend>", htmlentities($host)); |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | if (!$plugins = collectd_plugins($host)) { | 18 | if (!strlen($host) || !$plugins = collectd_plugins($host)) { |
| 19 | echo "Unknown host\n"; | 19 | echo "Unknown host\n"; |
| 20 | return false; | 20 | return false; |
| 21 | } | 21 | } |
