Bug 12495 - Include streetnumber in hold alert address
[koha_fer] / C4 / Biblio.pm
index 7e10e69..0ee661b 100644 (file)
@@ -2194,9 +2194,10 @@ sub TransformKohaToMarc {
     while ( my ($name, $value) = each %$hash ) {
         next unless my $dtm = $db_to_marc->{''}->{$name};
         next unless ( scalar( @$dtm ) );
-        my ($tag, $letter) = @$dtm; $tag .= '';
+        my ($tag, $letter) = @$dtm;
+        $tag .= '';
         foreach my $value ( split(/\s?\|\s?/, $value, -1) ) {
-            $value eq '' && next;
+            next if $value eq '';
             $tag_hr->{$tag} //= [];
             push @{$tag_hr->{$tag}}, [($letter, $value)];
         }