From e8c5c0360afd8a09bec83662e44625f5f40b440d Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 20 Jul 2023 10:43:36 -0300 Subject: [PATCH] Bug 33105: Avoid using $c->validation Signed-off-by: Tomas Cohen Arazi --- Koha/REST/V1/Acquisitions/Vendor/Issues.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/REST/V1/Acquisitions/Vendor/Issues.pm b/Koha/REST/V1/Acquisitions/Vendor/Issues.pm index ae979c75e0..79a9e4a823 100644 --- a/Koha/REST/V1/Acquisitions/Vendor/Issues.pm +++ b/Koha/REST/V1/Acquisitions/Vendor/Issues.pm @@ -46,8 +46,7 @@ sub list { return try { - my $vendor_id = $c->validation->param('vendor_id'); - my $vendor = Koha::Acquisition::Booksellers->find($vendor_id); + my $vendor = Koha::Acquisition::Booksellers->find( $c->param('vendor_id') ); unless ($vendor) { return $c->render( -- 2.39.5