Bug 31177: Fix misplaced import in C4::ILSDI::Services

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit cb2fd089af)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2022-07-18 12:47:49 -03:00 committed by Lucas Gass
parent 088139a89e
commit febabd7efe
1 changed files with 1 additions and 2 deletions

View File

@ -36,6 +36,7 @@ use C4::AuthoritiesMarc qw( GetAuthorityXML );
use Koha::Biblios;
use Koha::Checkouts;
use Koha::I18N qw(__);
use Koha::Items;
use Koha::Libraries;
use Koha::Patrons;
@ -961,8 +962,6 @@ sub _availability {
my ($itemnumber) = @_;
my $item = Koha::Items->find($itemnumber);
use Koha::I18N;
unless ( $item ) {
return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
}