Commit fa8f4837 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) cleanup

parent 7f39ea65
......@@ -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