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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 4 Jan 2016 15:47:04 +0000 (15:47 +0000)
commite2a3b93860740fd498baad35fc8a4dc859527cb9
treeeae654d6aa19cd4d52a85172ededea8fe6f668ed
parent0aea75154a3bcbd1663b7bcb8af84fcc8fca5e6f
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>
circ/circulation.pl