diff options
author | Ermal <eri@pfsense.org> | 2011-07-05 20:20:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-05 20:21:11 +0000 |
commit | b36cf3fcd6c95dcab6b4aa16edaafdaff037bc52 (patch) | |
tree | fe29d057452b2a229e183e8b6129e9436e7c4f58 | |
parent | 6108a08ce296ea2643ee6b6297156da8412dcb00 (diff) | |
download | pfsense-b36cf3fcd6c95dcab6b4aa16edaafdaff037bc52.zip pfsense-b36cf3fcd6c95dcab6b4aa16edaafdaff037bc52.tar.gz |
Add checks for miniupnpd to avoid php errors.
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index d4a1391..646aea6 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2436,7 +2436,7 @@ anchor "tftp-proxy/*" EOD; update_filter_reload_status("Creating uPNP rules..."); - if(isset($config['installedpackages']['miniupnpd']['config'][0]['enable'])) { + if(isset($config['installedpackages']['miniupnpd']) && isset($config['installedpackages']['miniupnpd']['config'][0]['enable'])) { $ipfrules .= <<<EOD # uPnPd |