summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc
index 02c9e79a..e05b2bd8 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -419,7 +419,9 @@ void global_scope_t::normalize_report_options(const string& verb)
report_t& rep(report());
// jww (2009-02-09): These globals are a hack, but hard to avoid.
- item_t::use_effective_date = rep.HANDLED(effective);
+ item_t::use_effective_date = (rep.HANDLED(effective) &&
+ ! rep.HANDLED(actual_dates));
+
rep.session.commodity_pool->keep_base = rep.HANDLED(base);
rep.session.commodity_pool->get_quotes = rep.session.HANDLED(download);