summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2012-06-23 02:19:59 +0300
committerbcyrill <cyrill@bannwart.info>2012-06-23 02:19:59 +0300
commitba1fabef5c95a795144e3b748c2ad1f04a3f6517 (patch)
tree7b11aa39c7002e8710c04af1f4bdff21558c26b2 /usr
parent43a92efd67c068e2f029d02616e3bb527164a24a (diff)
downloadpfsense-ba1fabef5c95a795144e3b748c2ad1f04a3f6517.zip
pfsense-ba1fabef5c95a795144e3b748c2ad1f04a3f6517.tar.gz
IGMPproxy, service_status widget
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/widgets/widgets/services_status.widget.php2
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud