From 851b51d5472f1a414e745081eb286abb7f7fe01a Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 13 Feb 2023 23:27:38 +0800 Subject: [PATCH] [new-owner-report] use let* to access split->owner oops --- gnucash/report/reports/standard/new-owner-report.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/report/reports/standard/new-owner-report.scm b/gnucash/report/reports/standard/new-owner-report.scm index e95f016370..7c7c0a9e44 100644 --- a/gnucash/report/reports/standard/new-owner-report.scm +++ b/gnucash/report/reports/standard/new-owner-report.scm @@ -1246,8 +1246,8 @@ and do not match the transaction.")))))))) (define (gnc:owner-report-create-internal account split query journal? double? title debit-string credit-string) - (let ((split->owner (gnc:make-split->owner)) - (owner (split->owner split))) + (let* ((split->owner (gnc:make-split->owner)) + (owner (split->owner split))) (if (gncOwnerIsValid owner) (owner-report-create-with-enddate owner account #f) -1)))