From 016b9396817dcc0e79daba4457e9cb19417e62f5 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 11 Sep 2024 14:36:05 +0000 Subject: [PATCH] Bug 37892: Fix memberentry.pl Signed-off-by: Olivier V Signed-off-by: Brendan Lawlor --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 2227df425f..23aef6ad1f 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -285,7 +285,7 @@ if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) } foreach my $guarantor (@guarantors) { - if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) && $guarantor->is_child || $guarantor->category->can_be_guarantee ) { + if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) && $guarantor->is_child ) { push @errors, 'ERROR_guarantor_is_guarantee'; } } -- 2.39.2