bug 7239 fix to avoid error being thrown even though a record is created
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
When creating an item in acquisitions while ordering and not filling out
any fields, there is no longer shown a perl error message.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 48f25fec43)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
eba41e801c
commit
9cbb413cf3
|
|
@ -1923,7 +1923,7 @@ sub TransformHtmlToXml {
|
|||
}
|
||||
$prevtag = @$tags[$i];
|
||||
}
|
||||
$xml .= "</datafield>\n" if @$tags > 0;
|
||||
$xml .= "</datafield>\n" if $xml =~ m/<datafield/;
|
||||
if ( C4::Context->preference('marcflavour') eq 'UNIMARC' and !$unimarc_and_100_exist ) {
|
||||
|
||||
# warn "SETTING 100 for $auth_type";
|
||||
|
|
|
|||
Loading…
Reference in New Issue