View | Details | Raw Unified | Return to bug 31177
Collapse All | Expand All

(-)a/C4/ILSDI/Services.pm (-3 / +1 lines)
Lines 36-41 use C4::AuthoritiesMarc qw( GetAuthorityXML ); Link Here
36
36
37
use Koha::Biblios;
37
use Koha::Biblios;
38
use Koha::Checkouts;
38
use Koha::Checkouts;
39
use Koha::I18N qw(__);
39
use Koha::Items;
40
use Koha::Items;
40
use Koha::Libraries;
41
use Koha::Libraries;
41
use Koha::Patrons;
42
use Koha::Patrons;
Lines 961-968 sub _availability { Link Here
961
    my ($itemnumber) = @_;
962
    my ($itemnumber) = @_;
962
    my $item = Koha::Items->find($itemnumber);
963
    my $item = Koha::Items->find($itemnumber);
963
964
964
    use Koha::I18N;
965
966
    unless ( $item ) {
965
    unless ( $item ) {
967
        return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
966
        return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
968
    }
967
    }
969
- 

Return to bug 31177