From 3be4caf956af01c59d372fddf180c32b0f562a81 Mon Sep 17 00:00:00 2001 From: Jean Cyr Date: Tue, 23 Sep 2014 22:09:23 -0400 Subject: NTP Service GPS page always reverts to 'Custom' GPS type Remember and correctly display GPS type setting --- usr/local/www/services_ntpd_gps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- cgit v1.1