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

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

Return to bug 35635