diff options
author | WY <wailo_2@hotmail.com> | 2022-12-19 03:37:26 +0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2023-01-20 17:25:05 -0800 |
commit | ef5b8ca3ac0c5cc15d97ebf29e2620c41ab6df3b (patch) | |
tree | e61f5417b5dc33b60c958e2417c38526e6ae1ab5 /src | |
parent | 0ade3a55fb84f5d899bcdac3f92dd9af6b370c66 (diff) | |
download | fork-ledger-ef5b8ca3ac0c5cc15d97ebf29e2620c41ab6df3b.tar.gz fork-ledger-ef5b8ca3ac0c5cc15d97ebf29e2620c41ab6df3b.tar.bz2 fork-ledger-ef5b8ca3ac0c5cc15d97ebf29e2620c41ab6df3b.zip |
Initial fix for #2147
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 { |