Skip to content

Commit

Permalink
Fix: Typo broke background sync
Browse files Browse the repository at this point in the history
So on our existing installation, we get an undefined array key error here.

Signed-off-by: Matthew Toseland <[email protected]>
  • Loading branch information
Matthew Toseland authored and backportbot[bot] committed Dec 18, 2024
1 parent aeeeb8b commit af3755d
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 @@ -59,7 +59,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 af3755d

Please sign in to comment.