diff --git a/ChangeLog b/ChangeLog index 07076bccb0..fb03a6792a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-11 Derek Atkins + + * src/engine/Transaction.c: xaccSplitGetCorrAccountCode() should + actually return the account Code, not the account Name! Fixes + #110561. + 2003-04-06 Derek Atkins * src/gnome-util/transfer-dialog.c: Pop up a dialog if the user diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index b03d33c71f..af8e5c1f9d 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -2401,7 +2401,7 @@ xaccSplitGetCorrAccountCode(const Split *sa) else { other_split_acc = xaccSplitGetAccount(other_split); - return xaccAccountGetName(other_split_acc); + return xaccAccountGetCode(other_split_acc); } }