]> git.agnieray.net Git - galette.git/commitdiff
Button name for mailings has changed since embers list is using generic list
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 16 Jan 2023 08:43:13 +0000 (09:43 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 16 Jan 2023 08:43:13 +0000 (09:43 +0100)
galette/lib/Galette/Controllers/Crud/MembersController.php

index 103b77c678b5f7367392bfc83a079367a61222f7..c1af997a5ab77e4a15ec053cf4d478c8dc2b53bc 100644 (file)
@@ -1000,7 +1000,7 @@ class MembersController extends CrudController
                     ->withHeader('Location', $this->router->pathFor('pdf-members-labels'));
             }
 
-            if (isset($post['mailing'])) {
+            if (isset($post['sendmail'])) {
                 return $response
                     ->withStatus(301)
                     ->withHeader('Location', $this->router->pathFor('mailing') . '?mailing_new=new');