View | Details | Raw Unified | Return to bug 35635
Collapse All | Expand All

(-)a/opac/opac-memberentry.pl (-2 / +1 lines)
Lines 477-483 sub CheckMandatoryAttributes{ Link Here
477
    for my $attribute (@$attributes ) {
477
    for my $attribute (@$attributes ) {
478
        my $attr = Koha::Patron::Attribute::Types->find($attribute->{code});
478
        my $attr = Koha::Patron::Attribute::Types->find($attribute->{code});
479
        push @empty_mandatory_fields, $attribute->{code}
479
        push @empty_mandatory_fields, $attribute->{code}
480
            if $attr && $attr->mandatory && $attribute->{attribute} =~ m|^\s*$|;
480
            if $attr && $attr->opac_mandatory && $attribute->{attribute} =~ m|^\s*$|;
481
    }
481
    }
482
482
483
    return @empty_mandatory_fields;
483
    return @empty_mandatory_fields;
484
- 

Return to bug 35635