@@ -, +, @@ opposite on pathological cases - Run: $ kshell k$ prove t/db_dependent/Koha/Account.t - Apply this patch - Run: k$ prove t/db_dependent/Koha/Account.t --- Koha/Account.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/Koha/Account.pm +++ a/Koha/Account.pm @@ -430,6 +430,7 @@ sub outstanding_debits { my $lines = $self->lines->search( { + amount => { '>' => 0 }, amountoutstanding => { '>' => 0 } } ); @@ -448,6 +449,7 @@ sub outstanding_credits { my $lines = $self->lines->search( { + amount => { '<' => 0 }, amountoutstanding => { '<' => 0 } } ); --