Will fix:
Batch deletion failed: Cannot enqueue this job. (The error was: Can't use string ("on") as an ARRAY ref while "strict refs" in use at /kohadevbox/koha/Koha/BackgroundJob/BatchDeleteItem.pm line 214. , see the Koha log file for more information).
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
return unless exists $args->{record_ids};
my @record_ids = @{ $args->{record_ids} };
- my $delete_biblios = @{ $args->{delete_biblios} || [] };
+ my $delete_biblios = $args->{delete_biblios} || 0;
$self->SUPER::enqueue(
{