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

(-)a/Koha/Account.pm (-2 / +2 lines)
Lines 306-312 sub outstanding_debits { Link Here
306
    );
306
    );
307
307
308
    # sum returns undef it list is empty
308
    # sum returns undef it list is empty
309
    my $total = sum( $lines->get_column('amountoutstanding') ) ? sum( $lines->get_column('amountoutstanding') ) + 0 : 0;
309
    my $sum = sum( $lines->get_column('amountoutstanding') );
310
    my $total = $sum ? $sum : 0;
310
311
311
    return ( $total, $lines );
312
    return ( $total, $lines );
312
}
313
}
313
- 

Return to bug 20946