Bug 28445: delete_biblios is a boolean
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>
This commit is contained in:
parent
ac90166f45
commit
ef09becd10
|
|
@ -211,7 +211,7 @@ sub enqueue {
|
|||
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(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue