Bug 27981: (follow-up) Correct variable

Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-05-03 13:44:34 +00:00 committed by Tomas Cohen Arazi
parent efbf8df4f8
commit c19326f351
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ sub import_bib {
return $result;
}
if(C4::Context->preference('autoControlNumber') eq 'biblionumber'){
my @control_num = $record->field('001');
my @control_num = $marc_record->field('001');
$marc_record->delete_fields(@control_num);
}