If a value expression lookup on an account object fails, defer to the current
session object. Transactions and entries already do this.
This commit is contained in:
parent
bdc180ff9c
commit
b9182bccdc
1 changed files with 3 additions and 1 deletions
|
|
@ -189,7 +189,9 @@ expr_t::ptr_op_t account_t::lookup(const string& name)
|
||||||
return WRAP_FUNCTOR(get_wrapper<&get_total>);
|
return WRAP_FUNCTOR(get_wrapper<&get_total>);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return expr_t::ptr_op_t();
|
|
||||||
|
assert(owner == session_t::current);
|
||||||
|
return owner->current_report->lookup(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool account_t::valid() const
|
bool account_t::valid() const
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue