Bug 720555 - General Ledger - Can't Enter Transaction Amounts

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23584 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2013-12-20 00:44:43 +00:00
parent f694000ba5
commit 21e0e19f34

View File

@ -488,7 +488,7 @@ gnc_split_register_save_amount_values (SRSaveData *sd, SplitRegister *reg)
/* Now compute/set the split value. Amount is in the register
* currency but we need to convert to the txn currency.
*/
if (gnc_split_register_needs_conv_rate (reg, sd->trans, acc))
if (acc && gnc_split_register_needs_conv_rate (reg, sd->trans, acc))
{
/* convert the amount to the Value ... */