diff options
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)); |