summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-12 18:23:22 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-12 18:23:22 -0500
commite35394a70defbffc7464713aaa700693e97ef358 (patch)
treef27f38d2eabe7b9d71da5294b5d1b54416e19bad /src/filters.cc
parentef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff)
downloadfork-ledger-e35394a70defbffc7464713aaa700693e97ef358.tar.gz
fork-ledger-e35394a70defbffc7464713aaa700693e97ef358.tar.bz2
fork-ledger-e35394a70defbffc7464713aaa700693e97ef358.zip
--data shouldn't modify the underlying item
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 8c5d099e..811067fc 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -710,7 +710,7 @@ void transfer_details::operator()(post_t& post)
switch (which_element) {
case SET_DATE:
- xact.set_date(substitute.to_date());
+ temp.xdata().date = substitute.to_date();
break;
case SET_ACCOUNT: {