Skip to content

Commit

Permalink
Fix condition to use correct shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
aligent-lturner committed Nov 27, 2024
1 parent 665bee2 commit 447da84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/export/Cron/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function execute(): void
// do not upload any export behind the current version
$currentVersion = $this->getCurrentExportedVersion->execute();
if ($currentVersion > 0) {
$collection->addFieldToFilter(ExportInterface::FIELD_VERSION_ID, ['gte' => $currentVersion]);
$collection->addFieldToFilter(ExportInterface::FIELD_VERSION_ID, ['gteq' => $currentVersion]);
}
// order by the version number descending to get the latest export
$collection->setOrder(ExportInterface::FIELD_VERSION_ID);
Expand Down

0 comments on commit 447da84

Please sign in to comment.