Bug 33567: Remove hardcoded fallback in module
Test plan: Run t/db_dependent/XSLT.t again Should pass now. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e79e23e8a2
commit
69bce3a706
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ sub buildKohaItemsNamespace {
|
|||
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } };
|
||||
my $xml = '';
|
||||
my %descs = map { $_->{authorised_value} => $_ } Koha::AuthorisedValues->get_descriptions_by_koha_field( { kohafield => 'items.notforloan' } );
|
||||
my $ref_status = C4::Context->preference('Reference_NFL_Statuses') || '1|2';
|
||||
my $ref_status = C4::Context->preference('Reference_NFL_Statuses') // q{}; # fallback to 1|2 removed
|
||||
|
||||
while ( my $item = $items->next ) {
|
||||
my $status;
|
||||
|
|
Loading…
Reference in a new issue