From ccc3e4addc14ff15fa106856e696f8434a67d732 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 9 Jan 2024 21:49:44 +0000 Subject: [PATCH] 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 --- .../intranet-tmpl/prog/en/modules/tools/additional-contents.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index f4f83f2be93..a7cd3d4be4c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -378,6 +378,7 @@ [% IF additional_contents.count %]
+ [% INCLUDE 'csrf-token.inc' %] -- 2.34.1