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

Paul Derscheid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144640|0                           |1
        is obsolete|                            |

--- Comment #12 from Paul Derscheid <[email protected]> ---
Created attachment 144643
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144643&action=edit
Bug 32418 - Can't call method 'unblessed' on an undefined value at
cataloguing/additem.pl

Check whether result of Koha::Items->find is defined before invoking unblessed.
If undef, redirect to additem op.

This uses an unlabeled block so we can add a guard clause to the 'dupeitem'
case and exit early with the 'last' keyword.

-- 
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/

Reply via email to