Revision f99f8a67
Added by Phil Davis over 9 years ago
src/usr/local/www/services_ntpd.php | ||
---|---|---|
169 | 169 |
enable_rrd_graphing(); |
170 | 170 |
} |
171 | 171 |
|
172 |
if (!empty($_POST['leaptxt'])) { |
|
173 |
$config['ntpd']['leapsec'] = base64_encode($_POST['leaptxt']); |
|
172 |
if (!empty($_POST['leaptext'])) {
|
|
173 |
$config['ntpd']['leapsec'] = base64_encode($_POST['leaptext']);
|
|
174 | 174 |
} elseif (isset($config['ntpd']['leapsec'])) { |
175 | 175 |
unset($config['ntpd']['leapsec']); |
176 | 176 |
} |
Also available in: Unified diff
services_ntpd fix leaptext array key name
Use leaptext everywhere - some references were to leaptext and some to leaptxt, so it didn't work.