Bug 34261: Add missing argument to show_account
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 12 Jul 2023 13:22:54 +0000 (13:22 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 18:23:16 +0000 (15:23 -0300)
commit0992769f6ee935d7f12c127ab5df827768361585
treeb68d00dcd658809cb2ec304d8f7e710cabf7dba6
parent80eb5ac35be44afd5547e1fa75da475d88f95612
Bug 34261: Add missing argument to show_account

This patch fixes a missing $crypt in the show_account function when deleting an edifact ordering account.

Test plan:
1) In system preferences search for EDIFACT and change EDIFACT to Enable
2) Navigate to Administration > EDI accounts
3) Create a dummy account
4) Try deleting the account using the delete button in the actions column on the far right
5) An error should be thrown - "Can't call method "decrypt_hex" on an undefined value"
6) Apply patch
7) Try deleting the account again
8) This time it should work and show the confirmation dialog box
9) Sign off

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/edi_accounts.pl