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

(-)a/tools/modborrowers.pl (-2 / +1 lines)
Lines 409-415 if ( $op eq 'do' ) { Link Here
409
            if ( $attributes->{$code}->{disabled} ) {
409
            if ( $attributes->{$code}->{disabled} ) {
410
                # The attribute is disabled, we remove it for this borrower !
410
                # The attribute is disabled, we remove it for this borrower !
411
                eval {
411
                eval {
412
                    $patron->get_extended_attribute($code)->delete;
412
                    $patron->extended_attributes->search({'me.code' => $code})->filter_by_branch_limitations->delete;
413
                };
413
                };
414
                push @errors, { error => $@ } if $@;
414
                push @errors, { error => $@ } if $@;
415
            } else {
415
            } else {
416
- 

Return to bug 21083