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

(-)a/members/moremember.pl (-3 / +2 lines)
Lines 171-184 if ( $category_type eq 'C') { Link Here
171
if ( $data->{'ethnicity'} || $data->{'ethnotes'} ) {
171
if ( $data->{'ethnicity'} || $data->{'ethnotes'} ) {
172
    $template->param( printethnicityline => 1 );
172
    $template->param( printethnicityline => 1 );
173
}
173
}
174
if ( $category_type eq 'A' || $category_type eq 'I') {
174
my ( $count, $guarantees ) = GetGuarantees( $data->{'borrowernumber'} );
175
if ( $count ) {
175
    $template->param( isguarantee => 1 );
176
    $template->param( isguarantee => 1 );
176
177
177
    # FIXME
178
    # FIXME
178
    # It looks like the $i is only being returned to handle walking through
179
    # It looks like the $i is only being returned to handle walking through
179
    # the array, which is probably better done as a foreach loop.
180
    # the array, which is probably better done as a foreach loop.
180
    #
181
    #
181
    my ( $count, $guarantees ) = GetGuarantees( $data->{'borrowernumber'} );
182
    my @guaranteedata;
182
    my @guaranteedata;
183
    for ( my $i = 0 ; $i < $count ; $i++ ) {
183
    for ( my $i = 0 ; $i < $count ; $i++ ) {
184
        push(@guaranteedata,
184
        push(@guaranteedata,
185
- 

Return to bug 12132