diff --git a/C4/Items.pm b/C4/Items.pm index 0194787c50..a78c9c4023 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -2144,6 +2144,7 @@ sub _koha_new_item { my ( $item, $barcode ) = @_; my $dbh=C4::Context->dbh; my $error; + $item->{permanent_location} //= $item->{location}; my $query = "INSERT INTO items SET biblionumber = ?,