diff options
author | Craig Earls <enderw88@gmail.com> | 2013-01-14 21:56:33 -0800 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-01-14 21:56:33 -0800 |
commit | 856f4b673c7cd8235c5647ebad86b1a5fb25739b (patch) | |
tree | ca367d1a79e2ce983e218d23c3d14466825b9a94 /src/filters.cc | |
parent | 67a598f6ff3b9b19b08af108c8bfe26064728457 (diff) | |
parent | d4df36a5983ee5ee8ee56c14f3decdcad6faf8af (diff) | |
download | fork-ledger-856f4b673c7cd8235c5647ebad86b1a5fb25739b.tar.gz fork-ledger-856f4b673c7cd8235c5647ebad86b1a5fb25739b.tar.bz2 fork-ledger-856f4b673c7cd8235c5647ebad86b1a5fb25739b.zip |
Merge remote-tracking branch 'upstream/next' into next
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc index 5e2bf983..7570809a 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -983,7 +983,8 @@ void interval_posts::flush() sort_posts_by_date()); // Determine the beginning interval by using the earliest post - if (! interval.find_period(all_posts.front()->date())) + if (all_posts.front() && + ! interval.find_period(all_posts.front()->date())) throw_(std::logic_error, _("Failed to find period for interval report")); // Walk the interval forward reporting all posts within each one |