Lines 404-410
if ( $op eq 'do' ) {
Link Here
|
404 |
if ( $attributes->{$code}->{disabled} ) { |
404 |
if ( $attributes->{$code}->{disabled} ) { |
405 |
# The attribute is disabled, we remove it for this borrower ! |
405 |
# The attribute is disabled, we remove it for this borrower ! |
406 |
eval { |
406 |
eval { |
407 |
$patron->get_extended_attribute($code)->delete; |
407 |
$patron->extended_attributes->search({'me.code' => $code})->filter_by_branch_limitations->delete; |
408 |
}; |
408 |
}; |
409 |
push @errors, { error => $@ } if $@; |
409 |
push @errors, { error => $@ } if $@; |
410 |
} else { |
410 |
} else { |
411 |
- |
|
|