Bug 35752: Pass CSRF token to del_form
To test: 1. Have multiple additional content items ( news/HTML customization/Pages ) 2. On one of the pages ( news/HTML customization/Pages ) select more than one item and try to delete using the 'Delete selected' button 3. You are redirected but nothing happens. 4. APPLY PATCH 5. Try again, this time you should be able to successfully delete additional-contents. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
cbc97f5c68
commit
241fb630f1
1 changed files with 1 additions and 0 deletions
|
@ -377,6 +377,7 @@
|
|||
[% IF additional_contents.count %]
|
||||
<div class="page-section">
|
||||
<form id="del_form" method="post" action="/cgi-bin/koha/tools/additional-contents.pl">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<table id="table_additional_contents">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue