Lines 567-574
my $branchcode = $input->param('branch') || C4::Context->userenv->{branch};
Link Here
|
567 |
my @subfields_to_prefill; |
567 |
my @subfields_to_prefill; |
568 |
if ( $nextop eq 'additem' && $op ne 'dupeitem' && $prefillitem ) { |
568 |
if ( $nextop eq 'additem' && $op ne 'dupeitem' && $prefillitem ) { |
569 |
@subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')); |
569 |
@subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')); |
570 |
# Setting to 1 element if SubfieldsToUseWhenPrefill is empty to prevent all the subfields to be prefilled |
|
|
571 |
@subfields_to_prefill = ("") unless @subfields_to_prefill; |
572 |
} |
570 |
} |
573 |
|
571 |
|
574 |
# Getting list of subfields to keep when restricted editing is enabled |
572 |
# Getting list of subfields to keep when restricted editing is enabled |
575 |
- |
|
|