summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2012-10-19 02:24:05 +0200
committerCraig Earls <enderw88@gmail.com>2012-10-19 02:24:05 +0200
commita110ec0af2c3d6b627b659353d2881e43003c907 (patch)
tree878259f96e59dcd9d2b61742298284db5a0e123e /src
parentc51ad98a6636b054fae1a8b2eca009ed516ee158 (diff)
parent08033e6d50dbe659b8393464eab119b00d8ba44a (diff)
downloadfork-ledger-a110ec0af2c3d6b627b659353d2881e43003c907.tar.gz
fork-ledger-a110ec0af2c3d6b627b659353d2881e43003c907.tar.bz2
fork-ledger-a110ec0af2c3d6b627b659353d2881e43003c907.zip
Merge branch 'next' of https://github.com/jwiegley/ledger into next
Diffstat (limited to 'src')
-rw-r--r--src/csv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csv.cc b/src/csv.cc
index 71b6516a..dbd2dbfe 100644
--- a/src/csv.cc
+++ b/src/csv.cc
@@ -243,7 +243,7 @@ xact_t * csv_reader::read_xact(bool rich_data)
// Translate the account name, if we have enough information to do so
- foreach (account_mapping_t& value, context.journal->account_mappings) {
+ foreach (account_mapping_t& value, context.journal->payees_for_unknown_accounts) {
if (value.first.match(xact->payee)) {
post->account = value.second;
break;