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

(-)a/tools/modborrowers.pl (-1 / +3 lines)
Lines 107-112 if ( $op eq 'show' ) { Link Here
107
    my $patron_categories = C4::Members::GetBorrowercategoryList;
107
    my $patron_categories = C4::Members::GetBorrowercategoryList;
108
    for ( values %$patron_attribute_types ) {
108
    for ( values %$patron_attribute_types ) {
109
        my $attr_type = C4::Members::AttributeTypes->fetch( $_->{code} );
109
        my $attr_type = C4::Members::AttributeTypes->fetch( $_->{code} );
110
        # TODO Repeatable attributes are not correctly managed and can cause data lost.
111
        # This should be implemented.
112
        next if $attr_type->{repeatable};
110
        my $options = $attr_type->authorised_value_category
113
        my $options = $attr_type->authorised_value_category
111
            ? GetAuthorisedValues( $attr_type->authorised_value_category )
114
            ? GetAuthorisedValues( $attr_type->authorised_value_category )
112
            : undef;
115
            : undef;
113
- 

Return to bug 15367