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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 315-321 sub store { Link Here
315
                }
315
                }
316
316
317
                foreach my $guarantor (@$guarantors) {
317
                foreach my $guarantor (@$guarantors) {
318
                    if ( $guarantor->is_child or $guarantor->category->can_be_guarantee ) {
318
                    if ( $guarantor->is_child ) {
319
                        Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( invalid_guarantor => 1 );
319
                        Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( invalid_guarantor => 1 );
320
                    }
320
                    }
321
                }
321
                }
322
- 

Return to bug 37892