AUDIT: r14926 - gnucash/trunk - Quote an empty scheme list and avoid crash of transaction report on

Andreas Köhler andi5 at cvs.gnucash.org
Tue Oct 3 17:13:15 EDT 2006


Author: andi5
Date: 2006-10-03 17:13:13 -0400 (Tue, 03 Oct 2006)
New Revision: 14926
Trac: http://svn.gnucash.org/trac/changeset/14926

Modified:
   gnucash/trunk/
   gnucash/trunk/src/report/standard-reports/transaction.scm
Log:
Quote an empty scheme list and avoid crash of transaction report on
empty session. Fixes #359412.
BP



Property changes on: gnucash/trunk
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:671
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13379
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:681
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13379
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366

Modified: gnucash/trunk/src/report/standard-reports/transaction.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/transaction.scm	2006-10-03 14:14:56 UTC (rev 14925)
+++ gnucash/trunk/src/report/standard-reports/transaction.scm	2006-10-03 21:13:13 UTC (rev 14926)
@@ -589,7 +589,7 @@
 	(cond ((not (null? current-accounts))
 	       (list (car current-accounts)))
 	      ((> num-accounts 0) (list first-account))
-	      (else ()))))
+	      (else '()))))
     #f #t))
 
   (gnc:register-trep-option



More information about the gnucash-changes mailing list