From e0045b072b6b40661eeeb4071f55a1b436b0a497 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Feb 2007 20:44:59 +0000 Subject: Only sync if IP and password are passed --- packages/tinydns/tinydns_xmlrpc_sync.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/tinydns') diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php index 98a54759..69404df3 100644 --- a/packages/tinydns/tinydns_xmlrpc_sync.php +++ b/packages/tinydns/tinydns_xmlrpc_sync.php @@ -50,6 +50,7 @@ if(!$config) { /* option enabled? */ if($syncxmlrpc) if($syncip) - tinydns_do_xmlrpc_sync($syncip, $password) + if($password) + tinydns_do_xmlrpc_sync($syncip, $password) ?> \ No newline at end of file -- cgit v1.2.3