Bug 18911: (follow-up) We should save changes with a POST
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 17 Jun 2020 11:50:26 +0000 (11:50 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 13:15:41 +0000 (15:15 +0200)
Test plan:
Verify if changes to messaging table and language are still saved.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt

index e23499c..6da0155 100644 (file)
@@ -28,7 +28,7 @@
                     [% IF ( settings_updated ) %]
                         <div class="alert alert-success"><h4>Settings updated</h4></div>
                     [% END %]
-                    <form action="/cgi-bin/koha/opac-messaging.pl" method="get" name="opacmessaging">
+                    <form action="/cgi-bin/koha/opac-messaging.pl" method="post" name="opacmessaging">
                         <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
                         <input type="hidden" name="modify" value="yes" />