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

(-)a/admin/patron-attr-types.pl (-2 / +1 lines)
Lines 122-128 sub add_update_attribute_type { Link Here
122
    my $staff_searchable          = $input->param('staff_searchable') ? 1 : 0;
122
    my $staff_searchable          = $input->param('staff_searchable') ? 1 : 0;
123
    my $authorised_value_category = $input->param('authorised_value_category');
123
    my $authorised_value_category = $input->param('authorised_value_category');
124
    my $display_checkout          = $input->param('display_checkout') ? 1 : 0;
124
    my $display_checkout          = $input->param('display_checkout') ? 1 : 0;
125
    my $category_code             = $input->param('category_code');
125
    my $category_code             = $input->param('category_code') || undef;
126
    my $class                     = $input->param('class');
126
    my $class                     = $input->param('class');
127
127
128
    my $attr_type = Koha::Patron::Attribute::Types->find($code);
128
    my $attr_type = Koha::Patron::Attribute::Types->find($code);
129
- 

Return to bug 25567