gnucash master: Stop saving all of the currencies in xml files.
John Ralls
jralls at code.gnucash.org
Sat Dec 3 15:39:45 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/4e2b2049 (commit)
from https://github.com/Gnucash/gnucash/commit/8214e526 (commit)
commit 4e2b2049fcbf99fa56f52b611d22574f64ccf0ce
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Dec 3 12:39:02 2016 -0800
Stop saving all of the currencies in xml files.
Regression from making KVP private.
diff --git a/src/backend/xml/sixtp-dom-generators.cpp b/src/backend/xml/sixtp-dom-generators.cpp
index 1db5895..8fd9b7d 100644
--- a/src/backend/xml/sixtp-dom-generators.cpp
+++ b/src/backend/xml/sixtp-dom-generators.cpp
@@ -362,7 +362,7 @@ qof_instance_slots_to_dom_tree (const char* tag, const QofInstance* inst)
const char** keys;
unsigned int i;
KvpFrame* frame = qof_instance_get_slots (inst);
- if (!frame)
+ if (!frame || frame->empty())
return nullptr;
ret = xmlNewNode (nullptr, BAD_CAST tag);
Summary of changes:
src/backend/xml/sixtp-dom-generators.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list