Bug 5333 - z3950 normalization should apply only on UNIMARC
It's been a while since this bug is around. This normalization is only used for UNIMARC and yields a fatal error when those variables are set on (at least) MARC21 setups. Regards To+ Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Amended patch: update comment Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
204a35f889
commit
9bdf28b555
1 changed files with 3 additions and 2 deletions
|
@ -94,9 +94,10 @@ sub MARCfindbreeding {
|
|||
return -1;
|
||||
}
|
||||
else {
|
||||
# normalize author : probably UNIMARC specific...
|
||||
# normalize author : UNIMARC specific...
|
||||
if ( C4::Context->preference("z3950NormalizeAuthor")
|
||||
and C4::Context->preference("z3950AuthorAuthFields") )
|
||||
and C4::Context->preference("z3950AuthorAuthFields")
|
||||
and C4::Context->preference("marcflavour") eq 'UNIMARC' )
|
||||
{
|
||||
my ( $tag, $subfield ) = GetMarcFromKohaField("biblio.author", '');
|
||||
|
||||
|
|
Loading…
Reference in a new issue