Skip to content

Commit

Permalink
Added ability to load GNUCash v. 3.0 xml
Browse files Browse the repository at this point in the history
  • Loading branch information
xzfantom committed May 8, 2018
1 parent a55ec29 commit d85fb0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public void endElement(String uri, String localName, String qualifiedName) throw
mAccount.setHidden(accountType == AccountType.ROOT); //flag root account as hidden
break;
case GncXmlHelper.TAG_COMMODITY_SPACE:
if (characterString.equals("ISO4217")) {
if (characterString.equals("ISO4217") || characterString.equals("CURRENCY") ) {
mISO4217Currency = true;
} else {
// price of non-ISO4217 commodities cannot be handled
Expand Down

0 comments on commit d85fb0d

Please sign in to comment.