summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-30 13:10:24 -0400
committerjim-p <jimp@pfsense.org>2012-05-30 13:10:46 -0400
commit46ca7f3d104aa23728aa57f046acac124285121a (patch)
tree338bbdd064ea92ae488e22739ad0b489609bf924
parent58168f4e2a74cb08d62bfb9715a6627b108a7ac8 (diff)
downloadpfsense-46ca7f3d104aa23728aa57f046acac124285121a.zip
pfsense-46ca7f3d104aa23728aa57f046acac124285121a.tar.gz
Fix copy/paste-o
-rw-r--r--usr/local/www/services_ntpd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index 9948a1d..648271c 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -40,8 +40,8 @@
require("guiconfig.inc");
if (empty($config['ntpd']['interface']))
- if (!empty($config['installedpackages']['openntpd']['config'][0]['interface']))
- $interfaces = explode(",", $config['installedpackages']['openntpd']['config'][0]['interface']);
+ if (empty($config['installedpackages']['openntpd']['config'][0]['interface'])) {
+ $pconfig['interface'] = explode(",", $config['installedpackages']['openntpd']['config'][0]['interface']);
unset($config['installedpackages']['openntpd']);
} else
$pconfig['interface'] = array();
OpenPOWER on IntegriCloud