From e35394a70defbffc7464713aaa700693e97ef358 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 12 Nov 2009 18:23:22 -0500 Subject: --data shouldn't modify the underlying item --- src/filters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filters.cc') 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: { -- cgit v1.2.3