From 2bc63b9358ad749724a96a95f8698819e81d1638 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 --- 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.34.1