]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 5 Jan 2016 08:14:52 +0000 (09:14 +0100)
commit91a41dda87d6736095a284f1699eaad93bd1ef25
treedc1108403d0d7e0bcf31145091e7bebc2cfaa3d2
parentb392ebb81574a1d8615c2000b3ee6c24420d0c1c
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>
(cherry picked from commit e2a3b93860740fd498baad35fc8a4dc859527cb9)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/circulation.pl