]> git.koha-community.org Git - koha.git/commit
Bug 15344: Remove one occurrence in circ/circulation.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 31 Dec 2015 11:43:54 +0000 (11:43 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 1 Jan 2016 12:45:50 +0000 (13:45 +0100)
commit60207b0e01a1c0e8452e8baae92f77b2f0541747
tree0eb85691ac90aa4aa6ef4d63564466519cb34688
parentd099dbfc8ae9faa9d167f683f730e2d52b75b049
Bug 15344: Remove one occurrence in circ/circulation.pl

In C4::Circulation::CanBookBeIssued, $borrower->{flags} is called and
should be populated by GetMemberDetails

It fixes the following error on checking out:
Can't use string ("1900156") as a HASH ref while "strict refs" in use at
/home/koha/src/C4/Circulation.pm line 813.

Note: Error occurs with patrons with staff permissions, not with 'normal' patrons.
Error is fixed with this patch.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
circ/circulation.pl