https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31873
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #142155|0 |1 is obsolete| | --- Comment #4 from David Nind <[email protected]> --- Created attachment 142206 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142206&action=edit Bug 31873: Check ->find before calling ->safe_delete When there is no item, you cannot safely delete it :) Resolve this warning: Can't call method "safe_delete" on an undefined value at /usr/share/koha/cataloguing/additem.pl line 379 (Line numbers may vary across versions.) Test plan: Open item editor. Add a new item. Add another tab with same form. Delete new item. Go back to former tab. Try to delete again. You should see an alert now on top of the form. Signed-off-by: Marcel de Rooy <[email protected]> Signed-off-by: David Nind <[email protected]> https://bugs.koha-community.org/show_bug.cgi?id=31783 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
