From 7cd6591c77bc7576f2374a77ba0c74895c6f257e Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 15 Dec 2019 08:33:37 +0800 Subject: [PATCH] [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. --- gnucash/report/business-reports/new-owner-report.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/business-reports/new-owner-report.scm b/gnucash/report/business-reports/new-owner-report.scm index 48ea481c44..0379f5ec60 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)