From 32b1d59568fd76188e27f2cdb076e1f1eaebe3b8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 23 Feb 2024 16:52:05 +0000 Subject: [PATCH] Bug 34478: Correct op name in CSV profile deletion confirmation step The 'delete_confirm' op leads to a confirmation page, so it's GET. Signed-off-by: Jonathan Druart --- tools/csv-profiles.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl index 1a447e44f9..12344f5a3e 100755 --- a/tools/csv-profiles.pl +++ b/tools/csv-profiles.pl @@ -125,7 +125,7 @@ if ( $op eq 'add_form' ) { } } $op = 'list'; -} elsif ( $op eq 'cud-delete_confirm' ) { +} elsif ( $op eq 'delete_confirm' ) { my $csv_profile = Koha::CsvProfiles->find($export_format_id); $template->param( csv_profile => $csv_profile, ); } elsif ( $op eq 'cud-delete_confirmed' ) { -- 2.39.5