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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 372-378 sub store { Link Here
372
                }
372
                }
373
373
374
                foreach my $guarantor (@$guarantors) {
374
                foreach my $guarantor (@$guarantors) {
375
                    if ( $guarantor->is_child or $guarantor->category->can_be_guarantee ) {
375
                    if ( $guarantor->is_child ) {
376
                        Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( invalid_guarantor => 1 );
376
                        Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( invalid_guarantor => 1 );
377
                    }
377
                    }
378
                }
378
                }
379
- 

Return to bug 37892