]> git.agnieray.net Git - galette.git/commitdiff
Add missing route argument
authorGuillaume AGNIERAY <dev@agnieray.net>
Wed, 15 Feb 2023 09:25:46 +0000 (10:25 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Fri, 17 Feb 2023 09:49:29 +0000 (10:49 +0100)
galette/lib/Galette/Controllers/Crud/ContributionsController.php

index 509d51c2342d95e5dab619dc798fe80c27a157c8..9a61fd457bc93aa783e3264c6200cca956d50ef6 100644 (file)
@@ -696,7 +696,7 @@ class ContributionsController extends CrudController
             if (isset($post['delete'])) {
                 return $response
                     ->withStatus(301)
-                    ->withHeader('Location', $this->routeparser->urlFor('removeContributions'));
+                    ->withHeader('Location', $this->routeparser->urlFor('removeContributions', ['type' => $type]));
             }
 
             throw new \RuntimeException('Does not know what to batch :(');