From 61911150670ee9617277b090b6a310817b06bddb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 8 Sep 2021 11:33:42 +0000 Subject: [PATCH] Bug 28935: (follow-up) Correct attribute test Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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 1aa490f067..abc1238df2 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -606,7 +606,7 @@ sub FilterUnchangedAttributes { my $changes = 0; foreach my $attr (grep { $_->code eq $attribute_type } @patron_attributes) { $changes = 1 - unless any { $_->{ value } eq $attr->attribute } @{ $entered_attributes }; + unless any { $_->{ attribute } eq $attr->attribute } @{ $entered_attributes }; last if $changes; } -- 2.20.1