]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 23 Mar 2016 11:17:13 +0000 (12:17 +0100)
commitf9a7f31eb0152db9cb6d06286fd99d82cc503a15
treebce08da3bb41c297ab13985280ae46b7e22b8cff
parent7c486bc899b46e605a3080ab27e47202d4b7ee14
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>
(cherry picked from commit f9b25894dd9095f130f8139ae63a5d955759ea5a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
members/paycollect.pl