diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-10 00:57:29 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-10 00:57:29 -0400 |
commit | c9d575abceb672d1c23383d973adee40daeecda8 (patch) | |
tree | dea80d45787359712e582cc7bf5d700a4419ec30 /src/ofx.cc | |
parent | 65510c9a9f0d588a8d0285072dfc2e2a153e5253 (diff) | |
download | fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.gz fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.bz2 fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.zip |
Basic balance reports are working again!
Diffstat (limited to 'src/ofx.cc')
-rw-r--r-- | src/ofx.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,7 +61,8 @@ int ofx_proc_account_cb(struct OfxAccountData data, void *) return -1; DEBUG("ledger.ofx.parse", "account " << data.account_name); - account_t * account = new account_t(master_account, data.account_name); + account_t * account = new account_t(master_account->owner, master_account, + data.account_name); curr_journal->add_account(account); ofx_accounts.insert(accounts_pair(data.account_id, account)); |