r20548 - gnucash/branches/2.4/src/report/report-system - [20525] Fix warning about NULL guid_list in xaccQueryAddAccountGUIDMatch, which caused some total amounts in reports to disappear.

Christian Stimming cstim at code.gnucash.org
Sat Apr 9 16:18:47 EDT 2011


Author: cstim
Date: 2011-04-09 16:18:46 -0400 (Sat, 09 Apr 2011)
New Revision: 20548
Trac: http://svn.gnucash.org/trac/changeset/20548

Modified:
   gnucash/branches/2.4/src/report/report-system/report-utilities.scm
Log:
[20525] Fix warning about NULL guid_list in xaccQueryAddAccountGUIDMatch, which caused some total amounts in reports to disappear.

Apparently gnc:account-get-trans-type-splits-interval didn't watch out
for empty lists of accounts, and the resulting split list somehow
was bogus. Now that we check for empty account list, all is fine again.
This was broken for some months by now, maybe since r20404?



More information about the gnucash-patches mailing list