diff --git a/gnucash/report/html-utilities.scm b/gnucash/report/html-utilities.scm
index 12ae13761cf..904184a4bd2 100644
--- a/gnucash/report/html-utilities.scm
+++ b/gnucash/report/html-utilities.scm
@@ -315,7 +315,7 @@
(qof-print-date (cdr d))
(disp (cdr d)))))
(try gnc-commodity-get-mnemonic)
- (try xaccAccountGetName)
+ (try gnc-account-get-full-name)
(try gnc-budget-get-name)
(format #f "~a" d)))
(let ((render-list '())