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()) {