summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_ntpd_gps.php
diff options
context:
space:
mode:
authorJean Cyr <jcyr@dillobits.com>2014-09-23 22:09:23 -0400
committerJean Cyr <jcyr@dillobits.com>2014-09-23 22:09:23 -0400
commit3be4caf956af01c59d372fddf180c32b0f562a81 (patch)
tree5e4d30f81e44b47b874e3ff0253d83175821b7ae /usr/local/www/services_ntpd_gps.php
parent73b8c1623bfada61551e8d8cb996f2e611b10240 (diff)
downloadpfsense-3be4caf956af01c59d372fddf180c32b0f562a81.zip
pfsense-3be4caf956af01c59d372fddf180c32b0f562a81.tar.gz
NTP Service GPS page always reverts to 'Custom' GPS type
Remember and correctly display GPS type setting
Diffstat (limited to 'usr/local/www/services_ntpd_gps.php')
-rw-r--r--usr/local/www/services_ntpd_gps.php2
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']);
OpenPOWER on IntegriCloud