liquid_feedback_frontend

changeset 885:e81f35cdc088

Fixed error in vote form
author bsw
date Mon Aug 20 02:38:34 2012 +0200 (2012-08-20)
parents a1c7858c15e9
children 2e9d39b53b64
files app/main/vote/list.lua
line diff
     1.1 --- a/app/main/vote/list.lua	Mon Aug 20 01:29:18 2012 +0200
     1.2 +++ b/app/main/vote/list.lua	Mon Aug 20 02:38:34 2012 +0200
     1.3 @@ -434,7 +434,7 @@
     1.4        local rendered_comment = format.wiki_text(comment, formatting_engine)
     1.5        slot.put(rendered_comment)
     1.6      end
     1.7 -    if (readonly or direct_voter.comment) and not preview then
     1.8 +    if (readonly or direct_voter and direct_voter.comment) and not preview then
     1.9        local text
    1.10        if direct_voter and direct_voter.comment_changed then
    1.11          text = _("Voting comment (last updated: #{timestamp})", { timestamp = format.timestamp(direct_voter.comment_changed) })

Impressum / About Us