[Koha-bugs] [Bug 27896] Remove C4::Circulation::DeleteTransfer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 7 15:04:00 CEST 2021


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

Peter Vashchuk <stalkernoid at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stalkernoid at gmail.com

--- Comment #3 from Peter Vashchuk <stalkernoid at gmail.com> ---
Throws software error at step 9: "click cancel" when I click the cancel button:
> Can't use string ("Koha::Item") as a HASH ref while "strict refs" in use at /Koha/Object.pm line 782.

Seems like the source of the problem is located in returns.pl at the line 231:
>     my $item = Koha::Item->find($itemnumber);

I managed to fix it by changing "Koha::Item" to "Koha::Items" and it seems to
work fine after that change, but please check if it's a correct solution anyway
:)

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


More information about the Koha-bugs mailing list