Skip to content

Commit 1f9b604

Browse files
authored
Merge pull request #2470 from toad/background-sync-2408-typo-fix
Fix: Typo broke background sync
2 parents e22b6e9 + f15d735 commit 1f9b604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BackgroundJob/SyncSubmissionsWithLinkedFileJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(
4242
public function run($argument): void {
4343
$oldUser = $this->userSession->getUser();
4444
$formId = $argument['form_id'];
45-
$attempt = $argument['attempt'] ?: 1;
45+
$attempt = $argument['attempt'] ?? 1;
4646

4747
try {
4848
$form = $this->formMapper->findById($formId);

0 commit comments

Comments
 (0)