X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5902705e1674deb4a4e62c360f9d7d05be3110bd..d625387e824916760fe457609bb15d51b759b0fd:/SL/RP.pm diff --git a/SL/RP.pm b/SL/RP.pm index 0b4dea9ec..f0f25a235 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -909,7 +909,7 @@ sub trial_balance { } $sth->finish; - if (!$form->{method} ne "cash") { + if ($form->{method} ne "cash") { # better eq 'accrual' $sth = prepare_execute_query($form, $dbh, $fetch_accounts_before_from); while ($ref = $sth->fetchrow_hashref("NAME_lc")) { $trb{ $ref->{accno} }{description} = $ref->{description};