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

(-)a/C4/Items.pm (-2 / +1 lines)
Lines 305-311 sub ModItemFromMarc { Link Here
305
    my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' );
305
    my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' );
306
306
307
    my ( $perm_loc_tag, $perm_loc_subfield ) = C4::Biblio::GetMarcFromKohaField( "items.permanent_location" );
307
    my ( $perm_loc_tag, $perm_loc_subfield ) = C4::Biblio::GetMarcFromKohaField( "items.permanent_location" );
308
    my $has_permanent_location = defined $item_marc->subfield( $perm_loc_tag, $perm_loc_subfield );
308
    my $has_permanent_location = defined $perm_loc_tag && defined $item_marc->subfield( $perm_loc_tag, $perm_loc_subfield );
309
309
310
    # Retrieving the values for the fields that are not linked
310
    # Retrieving the values for the fields that are not linked
311
    my @mapped_fields = Koha::MarcSubfieldStructures->search(
311
    my @mapped_fields = Koha::MarcSubfieldStructures->search(
312
- 

Return to bug 27837