mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
(legacy) fix enabled check on miniupnpd
This commit is contained in:
parent
96d2793ce8
commit
7f39ea65a9
@ -57,7 +57,7 @@ function sync_package_miniupnpd() {
|
||||
$ifaces_active = '';
|
||||
|
||||
/* since config is written before this file invoked we don't need to read post data */
|
||||
if($upnp_config['enable'] && !empty($upnp_config['iface_array'])) {
|
||||
if(!empty($upnp_config['enable']) && !empty($upnp_config['iface_array'])) {
|
||||
$iface_array = explode(',', $upnp_config['iface_array']);
|
||||
|
||||
foreach($iface_array as $iface) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user