diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-28 13:44:48 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-28 13:44:48 -0500 |
commit | e6eb0db15799c22a2aaf4b1e9981fad7bdd1cdaf (patch) | |
tree | f0aba13bfb02a13eb09b640164083f72e87f2dc1 /src/usr/local/www/interfaces_ppps_edit.php | |
parent | 6ce467538c67ad0312d73148e8fa0b38e853f40f (diff) | |
download | pfsense-e6eb0db15799c22a2aaf4b1e9981fad7bdd1cdaf.zip pfsense-e6eb0db15799c22a2aaf4b1e9981fad7bdd1cdaf.tar.gz |
Fixed #5537
Diffstat (limited to 'src/usr/local/www/interfaces_ppps_edit.php')
-rw-r--r-- | src/usr/local/www/interfaces_ppps_edit.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_ppps_edit.php b/src/usr/local/www/interfaces_ppps_edit.php index 1ee2608..01b200b 100644 --- a/src/usr/local/www/interfaces_ppps_edit.php +++ b/src/usr/local/www/interfaces_ppps_edit.php @@ -552,7 +552,11 @@ function build_link_list() { $linklist = array('list' => array(), 'selected' => array()); - $selected_ports = explode(',',$pconfig['interfaces']); + $selected_ports = array(); + + if($pconfig['interfaces']) { + $selected_ports = explode(',',$pconfig['interfaces']); + } if (!is_dir("/var/spool/lock")) mwexec("/bin/mkdir -p /var/spool/lock"); @@ -665,7 +669,7 @@ $section->addInput(new Form_Input( 'passwordfld', 'Password', 'password', - $pconfig['passwordfld'] + $pconfig['password'] )); // These elements are hidden by default, and un-hidden in Javascript |