summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.cc b/src/post.cc
index 89d69ec1..2a44ebd8 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -244,7 +244,7 @@ namespace {
DEBUG("post.account_amount", "Found account: " << account->fullname());
- value_t total = account->self_total();
+ value_t total = account->amount();
if (total.is_null())
return 0L;
else