Skip to content

Commit

Permalink
Merge pull request #2470 from toad/background-sync-2408-typo-fix
Browse files Browse the repository at this point in the history
Fix: Typo broke background sync
  • Loading branch information
Chartman123 authored Dec 18, 2024
2 parents e22b6e9 + f15d735 commit 1f9b604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BackgroundJob/SyncSubmissionsWithLinkedFileJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct(
public function run($argument): void {
$oldUser = $this->userSession->getUser();
$formId = $argument['form_id'];
$attempt = $argument['attempt'] ?: 1;
$attempt = $argument['attempt'] ?? 1;

try {
$form = $this->formMapper->findById($formId);
Expand Down

0 comments on commit 1f9b604

Please sign in to comment.