Commit fd614125 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) cleanup

parent 2b36d62c
......@@ -2371,7 +2371,7 @@ function upnp_start()
{
global $config;
if (isset($config['installedpackages']['miniupnpd']['config'][0]['enable'])) {
if (!empty($config['installedpackages']['miniupnpd']['config'][0]['enable'])) {
echo gettext("Starting UPnP service... ");
require_once('miniupnpd.inc');
sync_package_miniupnpd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment