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

(-)a/tools/cleanborrowers.pl (-2 / +2 lines)
Lines 189-197 $template->param( Link Here
189
#writing the template
189
#writing the template
190
output_html_with_http_headers $cgi, $cookie, $template->output;
190
output_html_with_http_headers $cgi, $cookie, $template->output;
191
191
192
sub _skip_borrowers_with_nonzero_balance {
192
sub _skip_borrowers_with_nonzero_balance_or_issues {
193
    my $borrowers = shift;
193
    my $borrowers = shift;
194
    my $balance;
194
    my $balance;
195
    my $issues;
195
    @$borrowers = map {
196
    @$borrowers = map {
196
        (undef, $issues, $balance) = GetMemberIssuesAndFines( $_->{borrowernumber} || $_->get_column('borrowernumber') );
197
        (undef, $issues, $balance) = GetMemberIssuesAndFines( $_->{borrowernumber} || $_->get_column('borrowernumber') );
197
        ($balance != 0 || $issues!= 0) ? (): ($_);
198
        ($balance != 0 || $issues!= 0) ? (): ($_);
198
- 

Return to bug 10612