From 63a1b3cc17fe53b1c4eca384cd61b9d481e57c85 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 11 Sep 2024 13:53:01 +0000 Subject: [PATCH] Bug 37892: Fix patron updates --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 3e4e89c7990..6c4fe07cd23 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -372,7 +372,7 @@ sub store { } foreach my $guarantor (@$guarantors) { - if ( $guarantor->is_child or $guarantor->category->can_be_guarantee ) { + if ( $guarantor->is_child ) { Koha::Exceptions::Patron::Relationship::InvalidRelationship->throw( invalid_guarantor => 1 ); } } -- 2.39.2