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

(-)a/Koha/Patrons.pm (-1 / +1 lines)
Lines 399-404 sub update_category_to { Link Here
399
    my ( $self, $params ) = @_;
399
    my ( $self, $params ) = @_;
400
    my $counter = 0;
400
    my $counter = 0;
401
    while( my $patron = $self->next ) {
401
    while( my $patron = $self->next ) {
402
        $patron->discard_changes;
402
        $counter++;
403
        $counter++;
403
        $patron->categorycode($params->{category})->store();
404
        $patron->categorycode($params->{category})->store();
404
    }
405
    }
405
- 

Return to bug 36508