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 <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Emily Lamancusa 2024-06-14 10:16:47 -04:00 committed by Katrin Fischer
parent a6eab64e53
commit 199b21bfc3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}