r14930 - gnucash/branches/2.0 - Quote an empty scheme list and avoid crash of transaction report on

Andreas Köhler andi5 at cvs.gnucash.org
Thu Oct 5 05:30:43 EDT 2006


Author: andi5
Date: 2006-10-05 05:30:40 -0400 (Thu, 05 Oct 2006)
New Revision: 14930
Trac: http://svn.gnucash.org/trac/changeset/14930

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

approved by cstim.
merged from r14926.



Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:688
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13376
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:690
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13376
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282

Modified: gnucash/branches/2.0/src/report/standard-reports/transaction.scm
===================================================================
--- gnucash/branches/2.0/src/report/standard-reports/transaction.scm	2006-10-04 21:18:44 UTC (rev 14929)
+++ gnucash/branches/2.0/src/report/standard-reports/transaction.scm	2006-10-05 09:30:40 UTC (rev 14930)
@@ -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