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

(-)a/C4/ILSDI/Services.pm (-3 / +1 lines)
Lines 35-40 use C4::AuthoritiesMarc qw( GetAuthorityXML ); Link Here
35
35
36
use Koha::Biblios;
36
use Koha::Biblios;
37
use Koha::Checkouts;
37
use Koha::Checkouts;
38
use Koha::I18N qw(__);
38
use Koha::Items;
39
use Koha::Items;
39
use Koha::Libraries;
40
use Koha::Libraries;
40
use Koha::Patrons;
41
use Koha::Patrons;
Lines 944-951 sub _availability { Link Here
944
    my ($itemnumber) = @_;
945
    my ($itemnumber) = @_;
945
    my $item = Koha::Items->find($itemnumber);
946
    my $item = Koha::Items->find($itemnumber);
946
947
947
    use Koha::I18N;
948
949
    unless ( $item ) {
948
    unless ( $item ) {
950
        return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
949
        return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef );
951
    }
950
    }
952
- 

Return to bug 31177