Bug 17144: Fix variable scope issues in edi_account.pl
authorMarc Véron <veron@veron.ch>
Thu, 18 Aug 2016 12:14:47 +0000 (14:14 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Sun, 25 Sep 2016 13:18:14 +0000 (13:18 +0000)
commita055abe7c06e2efc9f0cdae89c2cbef28b7f3cb3
tree16915869a4d70b5b08a3c239f7a0d5ff422b5026
parent53f8916fe70f9401923872b7fcd05f63a1e5fdf1
Bug 17144: Fix variable scope issues in edi_account.pl

To reproduce:
- In Staff client, go to Administration > EDI accounts
- Click "+ New account"
Result: Internal Server Error
Plack error log says:
Can't call method "param" on an undefined value at /home/marc/koha/admin/edi_accounts.pl line 157

To test:
-Apply patch
- Add an EDI account
- Edit an EDI account
- Delete an EDI account

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
admin/edi_accounts.pl