From ba1fabef5c95a795144e3b748c2ad1f04a3f6517 Mon Sep 17 00:00:00 2001 From: bcyrill Date: Sat, 23 Jun 2012 02:19:59 +0300 Subject: IGMPproxy, service_status widget --- usr/local/www/widgets/widgets/services_status.widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/widgets') diff --git a/usr/local/www/widgets/widgets/services_status.widget.php b/usr/local/www/widgets/widgets/services_status.widget.php index d426b8b..2d9aa1d 100644 --- a/usr/local/www/widgets/widgets/services_status.widget.php +++ b/usr/local/www/widgets/widgets/services_status.widget.php @@ -127,7 +127,7 @@ if(isset($config['snmpd']['enable'])) { $services[] = $svcconfig; } -if (count($config['igmpproxy']['igmpentry']) > 0) { +if (is_array($config['igmpproxy']['igmpentry']) && (count($config['igmpproxy']['igmpentry']) > 0)) { $svcconfig = array(); $svcconfig['name'] = "igmpproxy"; $svcconfig['descritption'] = gettext("IGMP proxy"); -- cgit v1.1