gnucash maint: [new-owner-report] fix args to make-payment->invoices-table
Christopher Lam
clam at code.gnucash.org
Sat Dec 14 21:05:09 EST 2019
Updated via https://github.com/Gnucash/gnucash/commit/7cd6591c (commit)
from https://github.com/Gnucash/gnucash/commit/a513140e (commit)
commit 7cd6591c77bc7576f2374a77ba0c74895c6f257e
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Dec 15 08:33:37 2019 +0800
[new-owner-report] fix args to make-payment->invoices-table
It should receive 1 arg instead of 2.
guile-2.2 allows internal defines to be called with a higher number of
args. This may be a guile bug. Follow-up tracking at
https://lists.gnu.org/archive/html/bug-guile/2019-12/msg00011.html
guile-2.0 (IMHO correctly) does not allow this invalid call.
diff --git a/gnucash/report/business-reports/new-owner-report.scm b/gnucash/report/business-reports/new-owner-report.scm
index 48ea481c4..0379f5ec6 100644
--- a/gnucash/report/business-reports/new-owner-report.scm
+++ b/gnucash/report/business-reports/new-owner-report.scm
@@ -515,7 +515,7 @@
((and (txn-is-payment? txn) (eq? link-option 'simple))
(make-payment->invoices-list txn))
((and (txn-is-payment? txn) (eq? link-option 'detailed))
- (make-payment->invoices-table txn currency))
+ (make-payment->invoices-table txn))
(else '(()))))
(lp printed? (not odd-row?) (cdr splits) (+ total value)
Summary of changes:
gnucash/report/business-reports/new-owner-report.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list