[Koha-bugs] [Bug 21761] Koha::Object supports passing through 'update' which means we can side step 'set' + 'store'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 26 00:54:00 CEST 2019


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

--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
To investigate:

+    $itemtype = $builder->build_object( { class => 'Koha::ItemTypes' });
+    $itemtype->update({ notforloan => "" });

These two lines will warn "Argument "" isn't numeric in numeric eq (==)"

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