Revision e43d53b4
Added by Phil Davis about 13 years ago
etc/inc/system.inc | ||
---|---|---|
1271 | 1271 |
$ntpcfg .= "driftfile {$driftfile}\n"; |
1272 | 1272 |
|
1273 | 1273 |
if (empty($config['ntpd']['interface'])) |
1274 |
if (!empty($config['installedpackages']['openntpd']['config'][0]['interface'])) |
|
1274 |
if (is_array($config['installedpackages']['openntpd']) && !empty($config['installedpackages']['openntpd']['config'][0]['interface']))
|
|
1275 | 1275 |
$interfaces = explode(",", $config['installedpackages']['openntpd']['config'][0]['interface']); |
1276 | 1276 |
else |
1277 | 1277 |
$interfaces = array(); |
Also available in: Unified diff
Fix for this crash report, received after resetting a test system to factory defaults and setting up initila stuff:
i386
8.3-RELEASE-p3
FreeBSD 8.3-RELEASE-p3 #0: Sat Jul 7 21:34:19 EDT 2012 root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386
Crash report details:
PHP Errors:
[08-Jul-2012 14:51:29 UTC] PHP Fatal error: Cannot use string offset as an array in /etc/inc/system.inc on line 1274