View | Details | Raw Unified | Return to bug 20126
Collapse All | Expand All

(-)a/C4/Biblio.pm (-1 / +2 lines)
Lines 3333-3338 sub ModBiblioMarc { Link Here
3333
        format       => 'marcxml',
3333
        format       => 'marcxml',
3334
        marcflavour  => C4::Context->preference('marcflavour'),
3334
        marcflavour  => C4::Context->preference('marcflavour'),
3335
    };
3335
    };
3336
    $record->as_usmarc; # Bug 20126/10455 This triggers field length calculation
3337
3336
    # FIXME To replace with ->find_or_create?
3338
    # FIXME To replace with ->find_or_create?
3337
    if ( my $m_rs = Koha::Biblio::Metadatas->find($metadata) ) {
3339
    if ( my $m_rs = Koha::Biblio::Metadatas->find($metadata) ) {
3338
        $m_rs->metadata( $record->as_xml_record($encoding) );
3340
        $m_rs->metadata( $record->as_xml_record($encoding) );
3339
- 

Return to bug 20126