git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3549 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-01-29 07:13:00 +00:00
parent 86c18268f4
commit 67edb46720

View File

@ -93,7 +93,10 @@ xaccTransactionGetBackend (Transaction *trans)
/* find an account */
s = xaccTransGetSplit (trans, 0);
if (!s) return NULL;
if (!s) {
s = xaccTransGetSplit (trans->orig, 0);
if (!s) return NULL;
}
/* I suppose it would be more 'technically correct' to make sure that
* all splits share the same backend, and flag an error if they