Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 8463 - Koha/SearchEngine/Solr/Search.pm fails perlcritic test

	modified:   Koha/SearchEngine/Solr/Search.pm

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
  • Loading branch information...
commit 9226ae46419a5c54447c7d6e27b6163d2c6fd95a 1 parent 90db8c0
KohaAloha authored PaulPoulain committed

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  Koha/SearchEngine/Solr/Search.pm
3  Koha/SearchEngine/Solr/Search.pm
@@ -38,7 +38,8 @@ sub search {
38 38
               )
39 39
             : ( "recordid", "id" );
40 40
 
41  
-    my $recordtype = ref($filters->{recordtype}) eq 'ARRAY'
  41
+    my $recordtype;
  42
+    $recordtype = ref($filters->{recordtype}) eq 'ARRAY'
42 43
                     ? $filters->{recordtype}[0]
43 44
                     : $filters->{recordtype}
44 45
                 if defined $filters && defined $filters->{recordtype};

0 notes on commit 9226ae4

Please sign in to comment.
Something went wrong with that request. Please try again.