From 199b21bfc34460a5434ee0db41d98fb03b3e4b68 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Fri, 14 Jun 2024 10:16:47 -0400 Subject: [PATCH] Bug 37090: Correct op parameter in edi_accounts.pl To test: 1. Go to Acquisitions > EDI Accounts 2. Create an EDI account if one is not already there 3. Try to delete the EDI account --> Page refreshes and nothing happens 4. Apply patch, restart_all, and refresh the page 5. Try to delete the EDI account again --> A confirmation page displays with correct information 6. Click "Yes, delete" --> The EDI account is deleted Signed-off-by: Matt Blenkinsop Signed-off-by: Katrin Fischer --- admin/edi_accounts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/edi_accounts.pl b/admin/edi_accounts.pl index d7bb9b72e5..1c2fb76761 100755 --- a/admin/edi_accounts.pl +++ b/admin/edi_accounts.pl @@ -63,7 +63,7 @@ if ( $op eq 'acct_form' ) { $template->param( plugins => \@plugins ); } } -elsif ( $op eq 'cud-delete_confirm' ) { +elsif ( $op eq 'delete_confirm' ) { show_account($crypt); $template->param( delete_confirm => 1 ); } -- 2.39.5