Skip to content

Commit

Permalink
Stop saving all of the currencies in xml files.
Browse files Browse the repository at this point in the history
Regression from making KVP private.
  • Loading branch information
jralls committed Dec 3, 2016
1 parent 8214e52 commit 4e2b204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/xml/sixtp-dom-generators.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 4e2b204

Please sign in to comment.