summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-20 17:13:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-20 17:13:59 -0400
commitb95818026f6dfd1b5276e7e91efbb2f17330a5cf (patch)
tree1064bce197eea648923bd5cc3a657e2912907c75 /src/filters.cc
parent9ce498f89013d3282a40af61f97e50069c24ac9c (diff)
downloadfork-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.cc1
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);