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

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

Return to bug 15367