diff options
author | Ermal <eri@pfsense.org> | 2011-07-05 20:20:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-05 20:20:28 +0000 |
commit | f7ee0818bb7dc51be882b1b5af74ac30c4d84d24 (patch) | |
tree | 5390d2c0909a031d183ed04bafa41ea63fb205db | |
parent | 8aafd58e46101e34fdd13ddfa6279e0215c066ce (diff) | |
download | pfsense-f7ee0818bb7dc51be882b1b5af74ac30c4d84d24.zip pfsense-f7ee0818bb7dc51be882b1b5af74ac30c4d84d24.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 |