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

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 388-394 sub store { Link Here
388
388
389
                if (    C4::Context->preference('ChildNeedsGuarantor')
389
                if (    C4::Context->preference('ChildNeedsGuarantor')
390
                    and ( $self->is_child or $self->category->can_be_guarantee )
390
                    and ( $self->is_child or $self->category->can_be_guarantee )
391
                    and $self->contactname eq ""
391
                    and ( !defined $self->contactname || $self->contactname eq "" )
392
                    and !@$guarantors )
392
                    and !@$guarantors )
393
                {
393
                {
394
                    Koha::Exceptions::Patron::Relationship::NoGuarantor->throw();
394
                    Koha::Exceptions::Patron::Relationship::NoGuarantor->throw();
(-)a/t/db_dependent/Letters.t (-2 / +2 lines)
Lines 19-25 Link Here
19
19
20
use Modern::Perl;
20
use Modern::Perl;
21
use File::Basename qw(dirname);
21
use File::Basename qw(dirname);
22
use Test::More tests => 104;
22
use Test::More tests => 105;
23
use Test::NoWarnings;
23
24
24
use Test::MockModule;
25
use Test::MockModule;
25
use Test::Warn;
26
use Test::Warn;
26
- 

Return to bug 40410