diff options
author | Phil Davis <phil.davis@inf.org> | 2015-07-12 14:38:46 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-07-12 14:38:46 +0545 |
commit | 0c53abc2b765ccd8b965dc4228226bd0315d8f94 (patch) | |
tree | 11b28423397fd021a3f119f23f975da11f443732 /usr/local/www/interfaces_ppps_edit.php | |
parent | fd29caa1c8bc3aa547c50e4842aecd7314cc8d89 (diff) | |
download | pfsense-0c53abc2b765ccd8b965dc4228226bd0315d8f94.zip pfsense-0c53abc2b765ccd8b965dc4228226bd0315d8f94.tar.gz |
Firewall Aliases Edit ensure input_addresses array exists
If you click "+" to add an alias, then press Save without entering anything, you get:
Warning: Invalid argument supplied for foreach() in /usr/local/www/firewall_aliases_edit.php on line 402
as well as the various messages related to $input_errors.
This change ensures that $input_addresses array always exists (even if it has no real entries) so that the foreach() warning does not happen.
Diffstat (limited to 'usr/local/www/interfaces_ppps_edit.php')
0 files changed, 0 insertions, 0 deletions