diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 49263e4d..af93468f 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -836,7 +836,7 @@ void auto_xact_t::extend_xact(xact_base_t& xact, parse_context_t& context) // the automated xact's one. post_t * new_post = new post_t(account, amt); new_post->copy_details(*post); - if(! post->cost.is_null()) + if(post->cost) new_post->cost = post->cost; // A Cleared transaction implies all of its automatic posting are cleared |