Bugzilla – Attachment 179012 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.47 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-03-06 13:28:27 UTC
(
hide
)
Description:
Bug 26540: (follow-up) Update patch with CSRF protections
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-03-06 13:28:27 UTC
Size:
2.47 KB
patch
obsolete
>From cab84ed6c5b428854e477aefe610f15f3fc36e95 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 > >--- > .../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 054193e2..01515586 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -291,10 +291,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 %] >@@ -356,10 +353,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.30.2
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