From 71817d980b59b6fc411d37267ad4999d8509f73c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 27 Mar 2024 13:18:21 +0000 Subject: [PATCH] Bug 28869: (follow-up) Switch to cud-edit_category for CSRF Content-Type: text/plain; charset=utf-8 No test plan. Signed-off-by: Marcel de Rooy --- admin/authorised_values.pl | 2 +- .../intranet-tmpl/prog/en/modules/admin/authorised_values.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index a05a4f77bf..9513ce7eda 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -187,7 +187,7 @@ if ( $op eq 'add_form' or $op eq 'edit_form' ) { } $op = 'list'; -} elsif ( $op eq 'edit_category' ) { +} elsif ( $op eq 'cud-edit_category' ) { my $category_name = $input->param('category'); my $is_integer_only = $input->param('is_integer_only') ? 1 : 0; my $category = Koha::AuthorisedValueCategories->find($category_name); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index fd119895a3..5ce83f4bdb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -156,7 +156,7 @@ [% END %] - + [% ELSE %] -- 2.30.2