[Koha-bugs] [Bug 34308] Item->store tests on itemlost>0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 19 17:02:29 CEST 2023


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

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This is current MASTER:

        # If item was lost and has now been found,
        # reverse any list item charges if necessary.
        if (    exists $updated_columns{itemlost}
            and $updated_columns{itemlost} <= 0
            and $pre_mod_item->itemlost > 0 )
        {
            $self->_set_found_trigger($pre_mod_item);
        }

I actually do not understand the test here for <= 0 too. Imo should be =0 only.

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


More information about the Koha-bugs mailing list