# HG changeset patch # User bsw # Date 1340917814 -7200 # Node ID a68c02f4f7a6bebb48f1c5744e58b75d7928ddf6 # Parent 3cad9395c3452fb55a6a9248190d366cdd732c1d Fixed wrong more initiative count in event notification mail diff -r 3cad9395c345 -r a68c02f4f7a6 model/event.lua --- a/model/event.lua Thu Jun 28 23:07:28 2012 +0200 +++ b/model/event.lua Thu Jun 28 23:10:14 2012 +0200 @@ -116,7 +116,7 @@ body = body .. _("i#{id}: #{name}", { id = initiative.id, name = initiative.name }) .. "\n" end if initiative_count - 3 > 0 then - body = body .. _("and #{count} more initiatives", { count = initiative_count }) .. "\n" + body = body .. _("and #{count} more initiatives", { count = initiative_count - 3 }) .. "\n" end body = body .. "\n" end