r19783 - gnucash/trunk/src/report/standard-reports - Bug #633942: Fix "nil" column header on single account report
Christian Stimming
cstim at code.gnucash.org
Mon Nov 8 15:46:28 EST 2010
Author: cstim
Date: 2010-11-08 15:46:28 -0500 (Mon, 08 Nov 2010)
New Revision: 19783
Trac: http://svn.gnucash.org/trac/changeset/19783
Modified:
gnucash/trunk/src/report/standard-reports/category-barchart.scm
Log:
Bug #633942: Fix "nil" column header on single account report
When I open a report window (barchart in the example) and select only one
account, I get a column header saying "nil" near the only data column.
Someone accidentally wrote "nil" instead of the empty list '().
Modified: gnucash/trunk/src/report/standard-reports/category-barchart.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/category-barchart.scm 2010-11-08 20:31:42 UTC (rev 19782)
+++ gnucash/trunk/src/report/standard-reports/category-barchart.scm 2010-11-08 20:46:28 UTC (rev 19783)
@@ -560,7 +560,7 @@
all-data)
(if (> (gnc:html-table-num-columns table) 2)
(list (_ "Grand Total"))
- (list nil)
+ '()
)
))
More information about the gnucash-changes
mailing list