summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chain.cc b/src/chain.cc
index ed800c47..2578387e 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -92,7 +92,8 @@ xact_handler_ptr chain_xact_handlers(report_t& report,
// collapse_xacts causes entries with multiple xacts to appear as entries
// with a subtotaled xact for each commodity used.
if (report.HANDLED(collapse))
- handler.reset(new collapse_xacts(handler, expr));
+ handler.reset(new collapse_xacts(handler, expr,
+ report.HANDLED(collapse_if_zero)));
// subtotal_xacts combines all the xacts it receives into one subtotal
// entry, which has one xact for each commodity in each account.