aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/checkmk-agent/checkmk.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/checkmk-agent/checkmk.inc b/config/checkmk-agent/checkmk.inc
index 703259d6..d247e72a 100644
--- a/config/checkmk-agent/checkmk.inc
+++ b/config/checkmk-agent/checkmk.inc
@@ -205,7 +205,7 @@ function checkmk_sync_on_changes() {
switch ($synconchanges) {
case "manual":
if (is_array($checkmk_sync['row'])) {
- $rs = $checkmksync['row'];
+ $rs = $checkmk_sync['row'];
} else {
log_error("[check_mk-agent] XMLRPC sync is enabled but there are no hosts configured as replication targets.");
return;