Fix to budgeting when fixed dates are involved
This commit is contained in:
parent
77c5df4053
commit
91a99fc88e
1 changed files with 1 additions and 2 deletions
|
|
@ -1154,8 +1154,7 @@ void budget_posts::report_budget_items(const date_t& date)
|
||||||
optional<date_t> begin = pair.first.start;
|
optional<date_t> begin = pair.first.start;
|
||||||
if (! begin) {
|
if (! begin) {
|
||||||
if (! pair.first.find_period(date))
|
if (! pair.first.find_period(date))
|
||||||
throw_(std::runtime_error,
|
continue;
|
||||||
_("Something odd has happened at date %1") << date);
|
|
||||||
begin = pair.first.start;
|
begin = pair.first.start;
|
||||||
}
|
}
|
||||||
assert(begin);
|
assert(begin);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue