aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns_xmlrpc_sync.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php
index 169e0715..08e80e24 100644
--- a/packages/tinydns/tinydns_xmlrpc_sync.php
+++ b/packages/tinydns/tinydns_xmlrpc_sync.php
@@ -47,10 +47,9 @@ function tinydns_do_xmlrpc_sync() {
if(!$syncxmlrpc)
return;
- $carp = &$config['installedpackages']['carpsettings']['config'][0];
- $password = $carp['password'];
+ $password = $config['installedpackages']['carpsettings']['config'][0]['password'];
- if(!$carp['synchronizetoip'])
+ if(!$config['installedpackages']['carpsettings']['config'][0]['synchronizetoip'])
return;
log_error("[tinydns] tinydns_xmlrpc_sync.php is starting.");