diff --git a/C4/Items.pm b/C4/Items.pm index f3d492e1fb..41ca2b9ebb 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -2125,6 +2125,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 = ?,