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

(-)a/C4/Items.pm (-1 / +1 lines)
Lines 2135-2140 sub _set_defaults_for_add { Link Here
2135
    my $item = shift;
2135
    my $item = shift;
2136
    $item->{dateaccessioned} ||= C4::Dates->new->output('iso');
2136
    $item->{dateaccessioned} ||= C4::Dates->new->output('iso');
2137
    $item->{$_} ||= 0 for (qw( notforloan damaged itemlost withdrawn));
2137
    $item->{$_} ||= 0 for (qw( notforloan damaged itemlost withdrawn));
2138
    $item->{permanent_location} = $item->{location} unless ($item->{permanent_location});
2138
}
2139
}
2139
2140
2140
=head2 _koha_new_item
2141
=head2 _koha_new_item
2141
- 

Return to bug 13540