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

            Bug ID: 32379
           Summary: CRASH: Can't call method "itemlost" on an undefined
                    value
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

21.11
    my $item = Koha::Items->find($itemnumber);
    # FIXME Handle non existent item
[L426]    my $olditemlost = $item->itemlost;

MASTER
    my $itemnumber = $input->param('itemnumber');
    my $item = Koha::Items->find($itemnumber);
    # FIXME Handle non existent item
[L535]    my $olditemlost = $item->itemlost;

Confirming the FIXME ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.
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