summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/draft.cc')
-rw-r--r--src/draft.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draft.cc b/src/draft.cc
index 12a14c40..2b8b45f7 100644
--- a/src/draft.cc
+++ b/src/draft.cc
@@ -209,8 +209,8 @@ void draft_t::parse_args(const value_t& args)
tmpl->posts.back().account_mask && ! tmpl->posts.back().amount)
tmpl->posts.back().from = true;
- foreach (xact_template_t::post_template_t& post, tmpl->posts) {
- if (post.from)
+ foreach (xact_template_t::post_template_t& post_tmpl, tmpl->posts) {
+ if (post_tmpl.from)
has_only_to = false;
else
has_only_from = false;