Lines 607-614
my $branchcode = $input->param('branch') || C4::Context->userenv->{branch};
Link Here
|
607 |
my @subfields_to_prefill; |
607 |
my @subfields_to_prefill; |
608 |
if ( $nextop eq 'additem' && $op ne 'dupeitem' && $prefillitem ) { |
608 |
if ( $nextop eq 'additem' && $op ne 'dupeitem' && $prefillitem ) { |
609 |
@subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')); |
609 |
@subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')); |
610 |
# Setting to 1 element if SubfieldsToUseWhenPrefill is empty to prevent all the subfields to be prefilled |
|
|
611 |
@subfields_to_prefill = ("") unless @subfields_to_prefill; |
612 |
} |
610 |
} |
613 |
|
611 |
|
614 |
# Getting list of subfields to keep when restricted editing is enabled |
612 |
# Getting list of subfields to keep when restricted editing is enabled |
615 |
- |
|
|