summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 00:04:44 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 00:04:44 -0500
commitf35f68823a2054e99ef720ca78cbaf33f4188391 (patch)
tree9ee6ca2d8a0cb7d1b8940ff8532f2cc88970465b /src/filters.cc
parentdcd83203e6bcc9e861e784c0c1e1dff14b1cf930 (diff)
downloadfork-ledger-f35f68823a2054e99ef720ca78cbaf33f4188391.tar.gz
fork-ledger-f35f68823a2054e99ef720ca78cbaf33f4188391.tar.bz2
fork-ledger-f35f68823a2054e99ef720ca78cbaf33f4188391.zip
The anonymizer wasn't properly setting the journal
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 3a975920..9501856e 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -263,6 +263,8 @@ void anonymize_posts::operator()(post_t& post)
xact.payee = to_hex(message_digest);
xact.note = none;
+ } else {
+ xact.journal = post.xact->journal;
}
std::list<string> account_names;