net/igmp-proxy: small fix for service status after PHP 7.1 compat

This commit is contained in:
Franco Fichtner 2017-08-04 07:58:12 +02:00
parent 44b8445e14
commit ce7e4e0613
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,5 @@
PLUGIN_NAME= igmp-proxy
PLUGIN_VERSION= 1.1
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.2
PLUGIN_DEPENDS= igmpproxy
PLUGIN_COMMENT= IGMP-Proxy Service
PLUGIN_MAINTAINER= franco@opnsense.org

View file

@ -33,7 +33,7 @@ function igmpproxy_enabled()
{
global $config;
return isset($config['igmpproxy']['igmpentry']);
return !empty($config['igmpproxy']['igmpentry']);
}
function igmpproxy_services()