Bugzilla – Attachment 187220 Details for
Bug 26540
Server error when attempting to issue cash credit with UseCashRegisters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26540: (follow-up) Update patch with CSRF protections
Bug-26540-follow-up-Update-patch-with-CSRF-protect.patch (text/plain), 2.54 KB, created by
Martin Renvoize (ashimema)
on 2025-10-01 16:03:21 UTC
(
hide
)
Description:
Bug 26540: (follow-up) Update patch with CSRF protections
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-10-01 16:03:21 UTC
Size:
2.54 KB
patch
obsolete
>From 9a3f37c1d3f15bf9237261f26f30a5bffb4911aa Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Thu, 6 Mar 2025 13:58:35 +0100 >Subject: [PATCH] Bug 26540: (follow-up) Update patch with CSRF protections > >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > .../prog/en/modules/members/boraccount.tt | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 6d5459e4240..ef6595a6729 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -304,10 +304,7 @@ > You must have at least one cash register associated with this branch before you can record cash payouts. > </p> > [% IF ( CAN_user_parameters_manage_cash_registers ) %] >- <form action="/cgi-bin/koha/admin/cash_registers.pl" method="get"> >- <input type="hidden" name="op" value="add_form" /> >- <button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button> >- </form> >+ <a href="/cgi-bin/koha/admin/cash_registers.pl?op=add_form" class="new btn btn-default"><i class="fa fa-plus"></i> Create a new cash register</a> > [% END %] > </div> > [% END %] >@@ -373,10 +370,7 @@ > You must have at least one cash register associated with this branch before you can record cash refunds. > </p> > [% IF ( CAN_user_parameters_manage_cash_registers ) %] >- <form action="/cgi-bin/koha/admin/cash_registers.pl" method="get"> >- <input type="hidden" name="op" value="add_form" /> >- <button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button> >- </form> >+ <a href="/cgi-bin/koha/admin/cash_registers.pl?op=add_form" class="new btn btn-default"><i class="fa fa-plus"></i> Create a new cash register</a> > [% END %] > </div> > [% END %] >-- >2.51.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26540
:
111137
|
168234
|
168239
|
173152
|
179011
|
179012
|
187219
| 187220