Skip to content

Commit ff21096

Browse files
lbmarshallv1994gmcharlt
authored andcommitted
LP#2071656 fix for patron self registration form when related library settings are false
Release-note; Fixes issue that caused the public catalog patron self-registration form to not honor library settings used to control the visibility of some fields such as the second given name Signed-off-by: Llewellyn Marshall <[email protected]> Signed-off-by: Gina Monti <[email protected]> Signed-off-by: Galen Charlton <[email protected]>
1 parent e8be803 commit ff21096

File tree

1 file changed

+1
-1
lines changed
  • Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader

1 file changed

+1
-1
lines changed

Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Register.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ sub collect_register_validation_settings {
211211
next unless $set =~ /regex$|show$|require$|example$/;
212212

213213
my $val = $ctx->{get_org_setting}->($ctx_org, $set);
214-
next unless $val; # no configured org setting
214+
next unless defined($val); # no configured org setting
215215

216216
# extract the field class, name, and
217217
# setting type from the setting name

0 commit comments

Comments
 (0)