diff options
author | Jean Cyr <jcyr@dillobits.com> | 2014-09-23 22:09:23 -0400 |
---|---|---|
committer | Jean Cyr <jcyr@dillobits.com> | 2014-09-23 22:09:23 -0400 |
commit | 3be4caf956af01c59d372fddf180c32b0f562a81 (patch) | |
tree | 5e4d30f81e44b47b874e3ff0253d83175821b7ae | |
parent | 73b8c1623bfada61551e8d8cb996f2e611b10240 (diff) | |
download | pfsense-3be4caf956af01c59d372fddf180c32b0f562a81.zip pfsense-3be4caf956af01c59d372fddf180c32b0f562a81.tar.gz |
NTP Service GPS page always reverts to 'Custom' GPS type
Remember and correctly display GPS type setting
-rw-r--r-- | usr/local/www/services_ntpd_gps.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_ntpd_gps.php b/usr/local/www/services_ntpd_gps.php index 84cee47..76bd9d5 100644 --- a/usr/local/www/services_ntpd_gps.php +++ b/usr/local/www/services_ntpd_gps.php @@ -70,7 +70,7 @@ if ($_POST) { else unset($config['ntpd']['gps']); if (!empty($_POST['gpstype'])) - $config['ntpd']['gps']['type'] = 'Custom'; + $config['ntpd']['gps']['type'] = $_POST['gpstype']; elseif (isset($config['ntpd']['gps']['type'])) unset($config['ntpd']['gps']['type']); |