diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 12:10:49 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 12:10:49 -0400 |
commit | c71c434b63dfa2bb628cb7dce769d361d385a9b6 (patch) | |
tree | 56ace87f7513b5ad28b81257488cdc891c899029 /src/usr/local/www/interfaces.php | |
parent | d0156c7a4bf6574566a855538fe6b1779560aba0 (diff) | |
download | pfsense-c71c434b63dfa2bb628cb7dce769d361d385a9b6.zip pfsense-c71c434b63dfa2bb628cb7dce769d361d385a9b6.tar.gz |
Fixed #5121 Antennas now default to 'Default'
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r-- | src/usr/local/www/interfaces.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 727b495..9825a9b 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -2857,7 +2857,7 @@ if (isset($wancfg['wireless'])) { $group->add(new Form_Select( 'diversity', null, - $pconfig['diversity'], + (isset($pconfig['diversity'])) ? $pconfig['diversity']:'', ['' => 'Default', '0' => 'Off', '1' => 'On'] ))->setHelp('Diversity'); } @@ -2866,7 +2866,7 @@ if (isset($wancfg['wireless'])) { $group->add(new Form_Select( 'txantenna', null, - $pconfig['txantenna'], + (isset($pconfig['txantenna'])) ? $pconfig['txantenna']:'', ['' => 'Default', '0' => 'Auto', '1' => '#1', '2' => '#2'] ))->setHelp('Transmit antenna'); } @@ -2875,7 +2875,7 @@ if (isset($wancfg['wireless'])) { $group->add(new Form_Select( 'rxantenna', null, - $pconfig['rxantenna'], + (isset($pconfig['rxantenna'])) ? $pconfig['rxantenna']:'', ['' => 'Default', '0' => 'Auto', '1' => '#1', '2' => '#2'] ))->setHelp('Receive antenna'); } |