summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-02-10 21:08:40 +0100
committerErmal LUÇI <eri@pfsense.org>2015-02-10 21:08:40 +0100
commit51e76899e66360dc9d8e35f68282c54ccd9a4759 (patch)
tree3f859e8e1f3ac7690c42de491168ccddddf08f78 /etc
parent8fa0a5349a2fb7516a5397417d73029738e8007b (diff)
downloadpfsense-51e76899e66360dc9d8e35f68282c54ccd9a4759.zip
pfsense-51e76899e66360dc9d8e35f68282c54ccd9a4759.tar.gz
Fixes #4370 Use the curlies to not confuse php
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 0848590..72ae21d 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1727,12 +1727,12 @@ function system_ntp_configure($start_ntpd=true) {
}
- if (empty($config['ntpd']['interface']))
+ if (empty($config['ntpd']['interface'])) {
if (is_array($config['installedpackages']['openntpd']) && !empty($config['installedpackages']['openntpd']['config'][0]['interface']))
$interfaces = explode(",", $config['installedpackages']['openntpd']['config'][0]['interface']);
else
$interfaces = array();
- else
+ } else
$interfaces = explode(",", $config['ntpd']['interface']);
if (is_array($interfaces) && count($interfaces)) {
OpenPOWER on IntegriCloud