=cut
use strict;
+#use warnings; FIXME - Bug 2505
BEGIN {
# find Koha's Perl modules
# test carefully before changing this
}
}
if($flag){
- $marcxml = $record->as_xml;
+ $marcxml = $record->as_xml_record('UNIMARC');
# Update
my $sth = $dbh->prepare($update_marcxml);
$sth->execute($marcxml,$biblioitemnumber);