diff --git a/gnucash/report/standard-reports/transaction.scm b/gnucash/report/standard-reports/transaction.scm index a04c1d0026..c216b28fa3 100644 --- a/gnucash/report/standard-reports/transaction.scm +++ b/gnucash/report/standard-reports/transaction.scm @@ -1703,7 +1703,9 @@ tags within description, notes or memo. ") (string-join (map (lambda (row) (row->html row list-of-cols)) list-of-rows) "") - (row->html 'row-total list-of-cols) + (if (memq 'row-total (grid-rows grid)) + (row->html 'row-total list-of-cols) + "") "\n"))