From 820d6ce19738627927964a97964d2d04d7de6fc9 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 28 Jun 2016 10:10:15 +0200 Subject: [PATCH] ImportSource: fix hasChanges variable --- library/Director/Objects/ImportSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Objects/ImportSource.php b/library/Director/Objects/ImportSource.php index 65152ba6..77e23fc0 100644 --- a/library/Director/Objects/ImportSource.php +++ b/library/Director/Objects/ImportSource.php @@ -84,7 +84,7 @@ class ImportSource extends DbObjectWithSettings $this->last_attempt = date('Y-m-d H:i:s'); if ($import->providesChanges()) { Benchmark::measure('Found changes for ' . $this->source_name); - $this->hadChanges = true; + $hadChanges = true; $this->import_state = 'pending-changes'; if ($runImport && $import->run()) {