From a3615f8c10510ed1974a1017134788d3995e99a3 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Wed, 3 Jul 2019 19:58:20 +0000 Subject: [PATCH] Bug 17005: Fix bad rebase Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- Koha/REST/V1/Checkouts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/Checkouts.pm b/Koha/REST/V1/Checkouts.pm index aa48d148ef..b3a0699006 100644 --- a/Koha/REST/V1/Checkouts.pm +++ b/Koha/REST/V1/Checkouts.pm @@ -51,7 +51,7 @@ sub list { if ( $checked_in ) { $checkouts_set = Koha::Old::Checkouts->new; } else { - my $checkouts_set = Koha::Checkouts->new; + $checkouts_set = Koha::Checkouts->new; } my $checkouts = $c->objects->search( $checkouts_set, \&_to_model, \&_to_api ); return $c->render( status => 200, openapi => $checkouts ); -- 2.39.5