liquid_feedback_frontend
changeset 764:a68c02f4f7a6
Fixed wrong more initiative count in event notification mail
author | bsw |
---|---|
date | Thu Jun 28 23:10:14 2012 +0200 (2012-06-28) |
parents | 3cad9395c345 |
children | 80a58850bf87 |
files | model/event.lua |
line diff
1.1 --- a/model/event.lua Thu Jun 28 23:07:28 2012 +0200 1.2 +++ b/model/event.lua Thu Jun 28 23:10:14 2012 +0200 1.3 @@ -116,7 +116,7 @@ 1.4 body = body .. _("i#{id}: #{name}", { id = initiative.id, name = initiative.name }) .. "\n" 1.5 end 1.6 if initiative_count - 3 > 0 then 1.7 - body = body .. _("and #{count} more initiatives", { count = initiative_count }) .. "\n" 1.8 + body = body .. _("and #{count} more initiatives", { count = initiative_count - 3 }) .. "\n" 1.9 end 1.10 body = body .. "\n" 1.11 end