diff options
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post.cc b/src/post.cc index 79add9b9..92fe84d1 100644 --- a/src/post.cc +++ b/src/post.cc @@ -232,10 +232,10 @@ namespace { DEBUG("post.account_amount", "Found account: " << account->fullname()); - if (account->xdata().value.is_null()) + if (account->xdata().self_details.total.is_null()) return 0L; else - return account->xdata().value.simplified(); + return account->xdata().self_details.total.simplified(); } value_t get_account_depth(post_t& post) { |