aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_sync_client.php')
-rw-r--r--packages/carp_sync_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index 11dc630a..247b60df 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -29,7 +29,7 @@
if($config['installedpackages']['carpsettings']['config'] != "") {
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
- if($carp['synchronizerules'] <> "") {
+ if($carp['synchronizerules'] <> "" and $carp['synchronizetoip'] <> "" ) {
/* lets sync! */
$synchronizetoip = $carp['synchronizetoip'];
$current_rules_section = backup_config_section("rules");