From e61400acb3462f764a2873aa7a70409ce2e8f91f Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Wed, 30 Jan 2019 15:00:27 +0200 Subject: [PATCH] Bug 20664: (follow-up) Fix QA whitespace errors --- C4/Items.pm | 6 +++--- t/db_dependent/Items.t | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 36ba4c4bfc..5fcbc783e4 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1249,7 +1249,7 @@ sub GetHiddenItemnumbers { # Don't hide anything from this borrower category return; } - + my @resultitems; my $yaml = C4::Context->preference('OpacHiddenItems'); return () if (! $yaml =~ /\S/ ); @@ -1383,14 +1383,14 @@ sub Item2Marc { =head2 GetMarcItemFields - my @marc_fields = GetMarcItemFields($biblionumber); + my @marc_fields = GetMarcItemFields($biblionumber); Returns an array of MARC::Record objects of the items for the biblio. =cut sub GetMarcItemFields { - my ( $biblionumber, $itemnumbers, $hidingrules ) = @_; + my ( $biblionumber, $itemnumbers, $hidingrules ) = @_; my $item_level_itype = C4::Context->preference('item-level_itypes'); # This is so much faster than using Koha::Items->search that it makes sense even if it's ugly. diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t index 8703225053..ad75cd309e 100755 --- a/t/db_dependent/Items.t +++ b/t/db_dependent/Items.t @@ -998,7 +998,7 @@ subtest 'tests for GetMarcItem' => sub { subtest 'tests for GetMarcItemFields' => sub { plan tests => 5; $schema->storage->txn_begin; - + #Setup the information we need my $builder = t::lib::TestBuilder->new; my $library = $builder->build({ source => 'Branch', }); -- 2.17.1