|
Lines 187-193
if ( $op eq 'add_form' or $op eq 'edit_form' ) {
Link Here
|
| 187 |
} |
187 |
} |
| 188 |
|
188 |
|
| 189 |
$op = 'list'; |
189 |
$op = 'list'; |
| 190 |
} elsif ( $op eq 'edit_category' ) { |
190 |
} elsif ( $op eq 'cud-edit_category' ) { |
| 191 |
my $category_name = $input->param('category'); |
191 |
my $category_name = $input->param('category'); |
| 192 |
my $is_integer_only = $input->param('is_integer_only') ? 1 : 0; |
192 |
my $is_integer_only = $input->param('is_integer_only') ? 1 : 0; |
| 193 |
my $category = Koha::AuthorisedValueCategories->find($category_name); |
193 |
my $category = Koha::AuthorisedValueCategories->find($category_name); |