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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:27:27 +0000 (10:27 +0200)
commit656a25e39cac5ecca5c95dd9b2ae65648d474528
tree1ae047be5eaa82faee2b33d07794d092dcad674f
parent3b038239a56abc645eaa4787268b71a7b6603a5a
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>
(cherry picked from commit a055abe7c06e2efc9f0cdae89c2cbef28b7f3cb3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
admin/edi_accounts.pl