17 Nov
2020
17 Nov
'20
11:04 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26992 --- Comment #11 from Frédéric Demians <frederic@tamil.fr> ---
Then I'm also wondering why there needs to be eval here:
my $deleted_item = eval { $item->safe_delete };
I copy-paste this from somewhere, I don't recall where... It seems from the Koha::Item module, and usage from other scripts, that the canonical form should be now: my $error = $item->safe_delete; if ($error eq 1) { # not deleted I will re-factorize the patch appropriately. Thanks. -- You are receiving this mail because: You are watching all bug changes.