Bug 10975 - addbiblio.pl checks if marcflavour equals "usmarc"
Summary: addbiblio.pl checks if marcflavour equals "usmarc"
Status: RESOLVED DUPLICATE of bug 13635
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-30 12:47 UTC by Magnus Enger
Modified: 2015-04-22 11:31 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.