Browse Source

Bug 25167: (QA follow-up) Don't add a new variable

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Nick Clemens 1 year ago
committed by Jonathan Druart
parent
commit
7a87cc310b
  1. 5
      tools/inventory.pl

5
tools/inventory.pl

@ -121,10 +121,7 @@ for my $authvfield (@$statuses) {
# if there's a list of not for loans types selected use it rather than
# the full set.
if ($staton->{'items.notforloan'}) {
my @l = @{$staton->{'items.notforloan'}};
@notforloans = @l if scalar @l > 0;
}
@notforloans = @{$staton->{'items.notforloan'}} if defined $staton->{'items.notforloan'} and scalar @{$staton->{'items.notforloan'}} > 0;
my @class_sources = Koha::ClassSources->search({ used => 1 });
my $pref_class = C4::Context->preference("DefaultClassificationSource");

Loading…
Cancel
Save