]> git.agnieray.net Git - galette.git/commitdiff
CS
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 11 Jun 2020 14:37:05 +0000 (16:37 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 11 Jun 2020 14:37:05 +0000 (16:37 +0200)
galette/lib/Galette/Controllers/Crud/MembersController.php
galette/lib/Galette/Controllers/Crud/TransactionsController.php

index 2a5b69139ad805a4a92fbd086db6c0d0c7d982b0..990f22d8bba5a62484784d99f6f28cda75b3fc69 100644 (file)
@@ -1070,7 +1070,7 @@ class MembersController extends CrudController
                 _T("Member ID cannot ben null calling edit route!")
             );
         } elseif ($action === 'add' && $id !== null) {
-             return $response
+            return $response
                 ->withStatus(301)
                 ->withHeader('Location', $this->router->pathFor('editmember', ['action' => 'add']));
         }
index d352f64fd2d1e8be71753f0e5a1e7cb5598eef7b..094381001b50084604ad70cef08a83d8d0e3ed4c 100644 (file)
@@ -132,7 +132,7 @@ class TransactionsController extends ContributionsController
                 _T("Transaction ID cannot ben null calling edit route!")
             );
         } elseif ($action === 'add' && $trans_id !== null) {
-             return $response
+            return $response
                 ->withStatus(301)
                 ->withHeader('Location', $this->router->pathFor('transaction', ['action' => 'add']));
         }