View | Details | Raw Unified | Return to bug 27526
Collapse All | Expand All

(-)a/cataloguing/additem.pl (-2 / +1 lines)
Lines 565-571 my $branchcode = $input->param('branch') || C4::Context->userenv->{branch}; Link Here
565
# OR
565
# OR
566
# If the subfield must be prefilled with last catalogued item
566
# If the subfield must be prefilled with last catalogued item
567
my @subfields_to_prefill;
567
my @subfields_to_prefill;
568
if ( $nextop eq 'additem' && $prefillitem ) {
568
if ( $nextop eq 'additem' && $op ne 'dupeitem' && $prefillitem ) {
569
    # Setting to 1 element if SubfieldsToUseWhenPrefill is empty to prevent all the subfields to be prefilled
569
    # Setting to 1 element if SubfieldsToUseWhenPrefill is empty to prevent all the subfields to be prefilled
570
    @subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')) || ("");
570
    @subfields_to_prefill = split(' ', C4::Context->preference('SubfieldsToUseWhenPrefill')) || ("");
571
}
571
}
572
- 

Return to bug 27526