Lines 238-244
if ($op eq "additem") {
Link Here
|
238 |
my $add_duplicate_submit = $input->param('add_duplicate_submit'); |
238 |
my $add_duplicate_submit = $input->param('add_duplicate_submit'); |
239 |
my $add_multiple_copies_submit = $input->param('add_multiple_copies_submit'); |
239 |
my $add_multiple_copies_submit = $input->param('add_multiple_copies_submit'); |
240 |
my $save_as_template_submit = $input->param('save_as_template_submit'); |
240 |
my $save_as_template_submit = $input->param('save_as_template_submit'); |
241 |
my $number_of_copies = min( scalar $input->param('number_of_copies'), 1000 ); # TODO refine hardcoded maximum? |
241 |
my $number_of_copies = min( scalar $input->param('number_of_copies') || 0, 1000 ); # TODO refine hardcoded maximum? |
242 |
|
242 |
|
243 |
my @columns = Koha::Items->columns; |
243 |
my @columns = Koha::Items->columns; |
244 |
my $item = Koha::Item->new; |
244 |
my $item = Koha::Item->new; |
245 |
- |
|
|