From f51f1265a1d3a12cffb5142e652bf4203db28bb0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 17 Oct 2023 11:16:07 -0300 Subject: [PATCH] Bug 30719: Remove unused (and wrong) key in Koha::Illrequest->strings_map() Signed-off-by: Tomas Cohen Arazi --- Koha/Illrequest.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index 5db6762a76..5059e8989d 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -1995,18 +1995,6 @@ sub strings_map { }; } - my $batch = $self->batch; - if ($batch) { - $strings->{"batch"} = { - ill_batch_id => $batch->ill_batch_id, - name => $batch->name, - backend => $batch->backend, - patron_id => $batch->patron_id, - library_id => $batch->library_id, - status_code => $batch->status_code - }; - } - return $strings; } -- 2.39.5