From: <ste...@us...> - 2011-01-01 23:17:11
|
Revision: 1052 http://moneymanagerex.svn.sourceforge.net/moneymanagerex/?rev=1052&view=rev Author: stef145g Date: 2011-01-01 23:17:05 +0000 (Sat, 01 Jan 2011) Log Message: ----------- Bug Fix: [Tracker id-2974010] Error while maintaining Payee List - Release payeeID on Transfer. Modified Paths: -------------- trunk/mmex/src/mmtransaction.cpp Modified: trunk/mmex/src/mmtransaction.cpp =================================================================== --- trunk/mmex/src/mmtransaction.cpp 2011-01-01 23:12:35 UTC (rev 1051) +++ trunk/mmex/src/mmtransaction.cpp 2011-01-01 23:17:05 UTC (rev 1052) @@ -543,9 +543,11 @@ return pCopyTransaction; } -void mmBankTransactionList::updateTransaction( - boost::shared_ptr<mmBankTransaction> pBankTransaction) +void mmBankTransactionList::updateTransaction(boost::shared_ptr<mmBankTransaction> pBankTransaction) { + if (pBankTransaction->transType_ == wxT("Transfer")) + pBankTransaction->payeeID_ = -1; + static const char sql[] = "update CHECKINGACCOUNT_V1 " "SET ACCOUNTID=?, TOACCOUNTID=?, PAYEEID=?, TRANSCODE=?, " This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |