http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13635
--- Comment #5 from Jonathan Druart <[email protected]> --- (In reply to Bernardo Gonzalez Kriegel from comment #3) > 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. Yes of course, you are right! Now patch attached. -- 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/
