Merge branch 'trivial_bugs' of git://git.koha-community.org/wip/koha-fbc into kcmaster

This commit is contained in:
Chris Cormack 2010-11-08 19:42:41 +13:00
commit ce54fe0323
1 changed files with 4 additions and 3 deletions

View File

@ -206,9 +206,10 @@ RECORD: while ( ) {
}
} else {
if (my $f020 = $record->field('020')) {
$isbn = $f020->subfield('a');
$isbn =~ s/-//g;
$f020->update('a' => $isbn);
if ($isbn = $f020->subfield('a')) {
$isbn =~ s/-//g;
$f020->update('a' => $isbn);
}
}
}
}