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> (cherry picked from commit0992769f6e
) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit86c15fca16
) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
2ee83ca00a
commit
7223a78765
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if ( $op eq 'acct_form' ) {
|
|||
}
|
||||
}
|
||||
elsif ( $op eq 'delete_confirm' ) {
|
||||
show_account();
|
||||
show_account($crypt);
|
||||
$template->param( delete_confirm => 1 );
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue