mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user