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

(-)a/C4/Items.pm (-2 / +1 lines)
Lines 482-488 sub _build_default_values_for_mod_marc { Link Here
482
        withdrawn                => 0,
482
        withdrawn                => 0,
483
    };
483
    };
484
    while ( my ( $field, $default_value ) = each %$default_values ) {
484
    while ( my ( $field, $default_value ) = each %$default_values ) {
485
        $field =~ s|[^\.]*\.?(.*)|items.$1|;
485
        $field =~ s|^([^\.]+)$|items.$1|;
486
        $default_values_for_mod_from_marc{$frameworkcode}{$field} =
486
        $default_values_for_mod_from_marc{$frameworkcode}{$field} =
487
          $default_value
487
          $default_value
488
          if C4::Koha::IsKohaFieldLinked(
488
          if C4::Koha::IsKohaFieldLinked(
489
- 

Return to bug 13465