http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13635 --- Comment #5 from Jonathan Druart <jonathan.druart@biblibre.com> --- (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.