From 4027127c414f7bec3890ffd705c361ada691f693 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Tue, 6 Dec 2011 16:03:59 +1300 Subject: [PATCH] bug 7239 fix to avoid error being thrown even though a record is created --- C4/Biblio.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 52119ea..ac78ae3 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2077,7 +2077,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"; -- 1.7.4.1