Lines 105-112
if ( $op eq 'add_form' ) {
Link Here
|
105 |
my $checkinmsgtype = $input->param('checkinmsgtype'); |
105 |
my $checkinmsgtype = $input->param('checkinmsgtype'); |
106 |
my $hideinopac = $input->param('hideinopac') // 0; |
106 |
my $hideinopac = $input->param('hideinopac') // 0; |
107 |
my $searchcategory = $input->param('searchcategory'); |
107 |
my $searchcategory = $input->param('searchcategory'); |
108 |
my $can_suspend_hold = $input->param('can_suspend_hold'); |
108 |
my $can_suspend_hold = $input->param('can_suspend_hold') // 0; |
109 |
my $can_cancel_hold = $input->param('can_cancel_hold'); |
109 |
my $can_cancel_hold = $input->param('can_cancel_hold') // 0; |
110 |
|
110 |
|
111 |
if ( $itemtype and $is_a_modif ) { # it's a modification |
111 |
if ( $itemtype and $is_a_modif ) { # it's a modification |
112 |
$itemtype->description($description); |
112 |
$itemtype->description($description); |