http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13635

Bernardo Gonzalez Kriegel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|Needs Signoff               |Failed QA

--- Comment #3 from Bernardo Gonzalez Kriegel <[email protected]> ---
Hi Jonathan,
Seems that 'usmarc' is not a valid value for 'marcflavour' syspref,
only MARC21, UNIMARC and NORMARC

And the same error is on line 916 of addbiblio.pl

Perhaps is better to write the code as:

if ( $record ne "-1" ) {
    if ( C4::Context->preference('marcflavour') =~/unimarc/i ) {
        $template->param( title => $record->subfield('200',"a") );
    } else {
        $template->param( title => $record->title() );
    }
}

... unless I'm mistaken.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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