]> git.koha-community.org Git - koha.git/commit
Bug 16054: Fix variable scope error in paycollect.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 11 Mar 2016 12:47:26 +0000 (12:47 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 17 Mar 2016 07:53:28 +0000 (08:53 +0100)
commitf9b25894dd9095f130f8139ae63a5d955759ea5a
tree2698d5d45c1cdf2828f870f73c6e0c4293bef7cc
parentd409b437528748c41e108998231312d74e28d826
Bug 16054: Fix variable scope error in paycollect.pl

$borrower, $borrowernumber and $template and not visible in the
subroutine.
Using $b_ref and passing $template fixes the issue.

Test plan:
Under plack, use the pay selected button.
On the paycollect page, you should see the image of the patron

It certainly fixes some other bugs.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit da21ad065939d0789bb90d8fd6d088b781688aa3)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
members/paycollect.pl