[Koha-bugs] [Bug 32418] CRASH: Can't call method "unblessed" on an undefined value at cataloguing/additem.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 08:38:54 CET 2022


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

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+    $current_item = Koha::Items->find($itemnumber)->unblessed or undef;

This does not work. The find will not return an opbject. So the unblessed still
crashes.

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


More information about the Koha-bugs mailing list