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

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 3405-3411 sub is_patron_inside_charge_limits { Link Here
3405
3405
3406
my $is_anonymous_patron= $patron->is_anonymous();
3406
my $is_anonymous_patron= $patron->is_anonymous();
3407
3407
3408
Returns true if the patron the anonymous patron (AnonymousPatron)
3408
Returns true if the patron is the anonymous patron (AnonymousPatron)
3409
3409
3410
=cut
3410
=cut
3411
3411
(-)a/t/db_dependent/Koha/Patron.t (-3 / +2 lines)
Lines 3115-3120 subtest 'is_anonymous' => sub { Link Here
3115
3115
3116
    is( $patron->is_anonymous, 0, q{is_anonymous returns 0 if pref is not equal to patron's id} );
3116
    is( $patron->is_anonymous, 0, q{is_anonymous returns 0 if pref is not equal to patron's id} );
3117
3117
3118
    $schema->storage->txn_begin;
3118
    $schema->storage->txn_rollback;
3119
3119
3120
    }
3120
};
3121
- 

Return to bug 40401