diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-20 17:13:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-20 17:13:59 -0400 |
commit | b95818026f6dfd1b5276e7e91efbb2f17330a5cf (patch) | |
tree | 1064bce197eea648923bd5cc3a657e2912907c75 /src/filters.cc | |
parent | 9ce498f89013d3282a40af61f97e50069c24ac9c (diff) | |
download | fork-ledger-b95818026f6dfd1b5276e7e91efbb2f17330a5cf.tar.gz fork-ledger-b95818026f6dfd1b5276e7e91efbb2f17330a5cf.tar.bz2 fork-ledger-b95818026f6dfd1b5276e7e91efbb2f17330a5cf.zip |
When anonymizing posts, remove the transaction code
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc index 2323aed9..9e06fb8b 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -266,6 +266,7 @@ void anonymize_posts::operator()(post_t& post) copy_xact_details = true; } xact_t& xact = temps.last_xact(); + xact.code = none; if (copy_xact_details) { xact.copy_details(*post.xact); |