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:
parent
efbf8df4f8
commit
c19326f351
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue