From e323c0f85c2fbff7bde5f73af2c8a76847a39c98 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 --- 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.11.0