diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/account.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/account.cc b/src/account.cc index 5f131fe1..f628817e 100644 --- a/src/account.cc +++ b/src/account.cc @@ -189,7 +189,9 @@ expr_t::ptr_op_t account_t::lookup(const string& name) return WRAP_FUNCTOR(get_wrapper<&get_total>); break; } - return expr_t::ptr_op_t(); + + assert(owner == session_t::current); + return owner->current_report->lookup(name); } bool account_t::valid() const |