summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/post.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/post.cc b/src/post.cc
index 308283af..7c5379c4 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -723,6 +723,9 @@ void put_post(property_tree::ptree& st, const post_t& post)
if (post._date_aux)
put_date(st.put("aux-date", ""), *post._date_aux);
+ if (post.payee_from_tag() != "")
+ st.put("payee", post.payee_from_tag());
+
if (post.account) {
property_tree::ptree& t(st.put("account", ""));