https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10455

--- Comment #55 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #54)
> This change has interesting side-effects !
> 
> -    $sth = $dbh->prepare("UPDATE biblioitems SET marc=?,marcxml=? WHERE
> biblionumber=?");
> -    $sth->execute( $record->as_usmarc(), $record->as_xml_record($encoding),
> $biblionumber );
> +    $sth = $dbh->prepare("UPDATE biblioitems SET marcxml=? WHERE
> biblionumber=?");
> +    $sth->execute( $record->as_xml_record($encoding), $biblionumber );
> 
> It seems that since we do no longer call the sub as_usmarc, the automatic
> field lengths in the marc are not calculated anymore.
> This needs our attention. Will open a new report now!

Trivial fix submitted. Please have a look and sign off.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to