Skip to content

Commit 452fdac

Browse files
author
Matthew Toseland
committed
Fix: Typo broke background sync
does not work because of a typo (wrong null coalescing operator). So on our existing installation, we get an undefined array key error here.
1 parent e22b6e9 commit 452fdac

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)