https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27896 Peter Vashchuk <stalkernoid@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stalkernoid@gmail.com --- Comment #3 from Peter Vashchuk <stalkernoid@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.