diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 60f6c5b787..ea2852ce71 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1923,7 +1923,7 @@ sub TransformHtmlToXml { } $prevtag = @$tags[$i]; } - $xml .= "\n" if @$tags > 0; + $xml .= "\n" if $xml =~ m/preference('marcflavour') eq 'UNIMARC' and !$unimarc_and_100_exist ) { # warn "SETTING 100 for $auth_type";