]> git.koha-community.org Git - koha.git/commit
Bug 30644: (bug 29788 follow-up) Make Koha::Item->safe_to_delete use Koha::Result...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Apr 2022 13:44:16 +0000 (15:44 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 28 Apr 2022 20:49:20 +0000 (10:49 -1000)
commit593a258238aa86155160e94c5800e6c9fa05eab5
tree2c8bd5a73be3df285b4bdf81ffb74f8f1ee6c707
parentc48aac0ffc41ad8f2c7208df419b5f70a39213b8
Bug 30644: (bug 29788 follow-up) Make Koha::Item->safe_to_delete use Koha::Result::Boolean

Fix item deletion

Wrong if/else!

Test plan:
Delete an item

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
cataloguing/additem.pl