r23584 - gnucash/trunk/src/register/ledger-core - Bug 720555 - General Ledger - Can't Enter Transaction Amounts

John Ralls jralls at code.gnucash.org
Thu Dec 19 19:44:44 EST 2013


Author: jralls
Date: 2013-12-19 19:44:43 -0500 (Thu, 19 Dec 2013)
New Revision: 23584
Trac: http://svn.gnucash.org/trac/changeset/23584

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-model-save.c
Log:
Bug 720555 - General Ledger - Can't Enter Transaction Amounts

Modified: gnucash/trunk/src/register/ledger-core/split-register-model-save.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-model-save.c	2013-12-20 00:44:35 UTC (rev 23583)
+++ gnucash/trunk/src/register/ledger-core/split-register-model-save.c	2013-12-20 00:44:43 UTC (rev 23584)
@@ -488,7 +488,7 @@
     /* 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 ... */



More information about the gnucash-changes mailing list