diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-27 00:59:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-27 00:59:31 +0000 |
commit | dd98e33080b121b19742ae7124defa4882202d22 (patch) | |
tree | 7eb0c638bef782072939299b54537f3f0ba4b80b /usr/local | |
parent | 56e0a73d34279688a0588b2570cf8d81d2a110ad (diff) | |
download | pfsense-dd98e33080b121b19742ae7124defa4882202d22.zip pfsense-dd98e33080b121b19742ae7124defa4882202d22.tar.gz |
PHP5 fixes. Allow XMLRPC sync to work.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 5bb6e2f..d4cc397 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -38,9 +38,11 @@ require_once("functions.inc"); require_once("array_intersect_key.inc"); /* grab sync to ip if enabled */ -if ($config['installedpackages']['carpsettings']['config']) { - foreach ($config['installedpackages']['carpsettings']['config'] as $carp) { - $synchronizetoip = $carp['synchronizetoip']; +if($config['installedpackages']['carpsettings']) { + if ($config['installedpackages']['carpsettings']['config']) { + foreach ($config['installedpackages']['carpsettings']['config'] as $carp) { + $synchronizetoip = $carp['synchronizetoip']; + } } } |