From 2755786fd0c40407f0c4478dda6f34b37a94c5b5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Jan 2025 10:42:10 +0100 Subject: [PATCH] Bug 35635: Fix server-side check Signed-off-by: Jonathan Druart --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index ce650168c98..34ee2762f50 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -475,7 +475,7 @@ sub CheckMandatoryAttributes { for my $attribute (@$attributes) { my $attr = Koha::Patron::Attribute::Types->find( $attribute->{code} ); push @empty_mandatory_fields, $attribute->{code} - if $attr && $attr->mandatory && $attribute->{attribute} =~ m|^\s*$|; + if $attr && $attr->opac_mandatory && $attribute->{attribute} =~ m|^\s*$|; } return @empty_mandatory_fields; -- 2.39.5