projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bdb63d1
)
Bug 4368 - Avoid reseting UNIMARC 100 tag when importing biblio records
author
Frédéric Demians
<f.demians@tamil.fr>
Sat, 3 Apr 2010 10:48:54 +0000 (12:48 +0200)
committer
Galen Charlton
<gmcharlt@gmail.com>
Fri, 16 Apr 2010 04:28:44 +0000 (
00:28
-0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Biblio.pm
patch
|
blob
|
history
diff --git
a/C4/Biblio.pm
b/C4/Biblio.pm
index
9669752
..
e24bee8
100755
(executable)
--- a/
C4/Biblio.pm
+++ b/
C4/Biblio.pm
@@
-3322,7
+3322,7
@@
sub ModBiblioMarc {
# deal with UNIMARC field 100 (encoding) : create it if needed & set encoding to unicode
if ( $encoding eq "UNIMARC" ) {
my $string = $record->subfield( 100, "a" );
- if ( ($string) && ( length( $record->subfield( 100, "a" ) ) == 35 ) ) {
+ if ( ($string) && ( length( $record->subfield( 100, "a" ) ) == 36 ) ) {
my $f100 = $record->field(100);
$record->delete_field($f100);
} else {