Skip to content

Commit

Permalink
Merge pull request #331 from ssmarco/patch-1
Browse files Browse the repository at this point in the history
FIX Update ArchiveRestoreAction::doRestore() method to pass correct argument in redirection function
  • Loading branch information
GuySartorelli authored Mar 12, 2024
2 parents 84a25f8 + 9c23cee commit 450979c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/ArchiveRestoreAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ public function doRestore(array $data, Form $form): HTTPResponse
$controller->getRequest()->addHeader('X-Pjax', 'Content');
$controller->getEditForm()->sessionMessage($message['text'], $message['type'], ValidationResult::CAST_HTML);

return $controller->redirect($controller->Link(), 'index');
return $controller->redirect($controller->Link());
}
}

0 comments on commit 450979c

Please sign in to comment.