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

(-)a/tools/modborrowers.pl (-1 / +3 lines)
Lines 403-408 if ( $op eq 'do' ) { Link Here
403
403
404
        for my $code ( keys %$attributes ) {
404
        for my $code ( keys %$attributes ) {
405
            my $attr_type = Koha::Patron::Attribute::Types->find($code);
405
            my $attr_type = Koha::Patron::Attribute::Types->find($code);
406
407
            next unless $attr_type;
408
406
            # If this borrower is not in the category of this attribute, we don't want to modify this attribute
409
            # If this borrower is not in the category of this attribute, we don't want to modify this attribute
407
            next if $attr_type->category_code and $attr_type->category_code ne $patron->categorycode;
410
            next if $attr_type->category_code and $attr_type->category_code ne $patron->categorycode;
408
411
409
- 

Return to bug 34818