Bug 10975

Summary: addbiblio.pl checks if marcflavour equals "usmarc"
Product: Koha Reporter: Magnus Enger <magnus>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Magnus Enger 2013-09-30 12:47:33 UTC
On line 924 of cataloguing/addbiblio.pl we have this line:

$template->param( title => $record->title() ) if ($record ne "-1" && C4::Context->preference('marcflavour') eq "usmarc");

As far as I know, the 'marcflavour' syspref will never, ever be equal to "usmarc". 

I'm not sure if this has any practical sideeffects, though, I just spotted it while looking for something else.
Comment 1 Jonathan Druart 2015-04-22 11:31:28 UTC

*** This bug has been marked as a duplicate of bug 13635 ***
Comment 2 Jonathan Druart 2015-04-22 11:31:57 UTC
This test has been removed and corrected by bug 13635.