[Koha-bugs] [Bug 32496] Reduce unnecessary unblessings of objects in Circulation.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 17:30:23 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32496

--- Comment #12 from David Gustafsson <glasklas at gmail.com> ---
Ok, thanks for spotting that. The changes pertaining to CheckReserves have not
been moved to bug 31735. In Koha/Hold.pm now using the fully qualified sub name
for CheckResvere, there is a use line for C4::Reserves that can probably be
removed but keeping it not to cause further issue. For some reason imported
subroutines seems not to work inside of object methods so you are probably
right it would have crashed. Fixing the  formatting of
C4::Circulation::ReturnLostItem( $self->borrowernumber,
                    $debit->itemnumber );
feels like such a minor change that would hardly merit it's own bug report,
also noticed the if above is also incorrectly formatted. I can revert this
change though.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list