@@ -, +, @@ when... - Followup 1 --- C4/Items.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -2135,6 +2135,7 @@ sub _set_defaults_for_add { my $item = shift; $item->{dateaccessioned} ||= C4::Dates->new->output('iso'); $item->{$_} ||= 0 for (qw( notforloan damaged itemlost withdrawn)); + $item->{permanent_location} = $item->{location} unless ($item->{permanent_location}); } =head2 _koha_new_item --