@@ -, +, @@ key exists --- C4/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -304,7 +304,7 @@ sub ModItemFromMarc { my $item_object = Koha::Items->find($itemnumber); my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' ); - my $has_permanent_location = $item->{permanent_location}; + my $has_permanent_location = exists $item->{permanent_location}; # Retrieving the values for the fields that are not linked my @mapped_fields = Koha::MarcSubfieldStructures->search( --