Skip to content

Commit

Permalink
Config check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Dec 2, 2024
1 parent 8e49960 commit 9732fe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Service/SynchronizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private function fetchExtraDataForObject(Synchronization $synchronization, array
}

// Merge with earlier fetchde object if configured.
if (isset($extraDataConfig[$this::MERGE_EXTRA_DATA_OBJECT_LOCATION]) === true && $extraDataConfig[$this::MERGE_EXTRA_DATA_OBJECT_LOCATION] === true) {
if (isset($extraDataConfig[$this::MERGE_EXTRA_DATA_OBJECT_LOCATION]) === true && ($extraDataConfig[$this::MERGE_EXTRA_DATA_OBJECT_LOCATION] === true || $extraDataConfig[$this::MERGE_EXTRA_DATA_OBJECT_LOCATION] === 'true')) {
return array_merge($object, $extraData);
}

Expand Down Expand Up @@ -359,7 +359,6 @@ public function synchronizeContract(SynchronizationContract $synchronizationCont
}
}


// set the target hash
$targetHash = md5(serialize($targetObject));
$synchronizationContract->setTargetHash($targetHash);
Expand Down

0 comments on commit 9732fe3

Please sign in to comment.