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

(-)a/C4/XSLT.pm (-2 / +1 lines)
Lines 288-294 sub buildKohaItemsNamespace { Link Here
288
    my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } };
288
    my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } };
289
    my $xml = '';
289
    my $xml = '';
290
    my %descs = map { $_->{authorised_value} => $_ } Koha::AuthorisedValues->get_descriptions_by_koha_field( { kohafield => 'items.notforloan' } );
290
    my %descs = map { $_->{authorised_value} => $_ } Koha::AuthorisedValues->get_descriptions_by_koha_field( { kohafield => 'items.notforloan' } );
291
    my $ref_status = C4::Context->preference('Reference_NFL_Statuses') || '1|2';
291
    my $ref_status = C4::Context->preference('Reference_NFL_Statuses') // q{}; # fallback to 1|2 removed
292
292
293
    while ( my $item = $items->next ) {
293
    while ( my $item = $items->next ) {
294
        my $status;
294
        my $status;
295
- 

Return to bug 33567