diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/post.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.cc b/src/post.cc index 7c5379c4..637ca80c 100644 --- a/src/post.cc +++ b/src/post.cc @@ -135,7 +135,7 @@ string post_t::payee() const string post_payee = payee_from_tag(); - return post_payee != "" ? post_payee : xact->payee; + return post_payee != "" ? post_payee : xact ? xact->payee : ""; } namespace { |