liquid_feedback_frontend

diff app/main/vote/show_incoming.lua @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents 701a5cf6b067
children 09423cf96e9d
line diff
     1.1 --- a/app/main/vote/show_incoming.lua	Thu Jun 23 03:30:57 2016 +0200
     1.2 +++ b/app/main/vote/show_incoming.lua	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -8,6 +8,13 @@
     1.4    issue = Issue:by_id(param.get("issue_id"))
     1.5  end
     1.6  
     1.7 +if not issue then
     1.8 +  execute.view { module = "index", view = "404" }
     1.9 +  request.set_status("404 Not Found")
    1.10 +  return
    1.11 +end
    1.12 +
    1.13 +
    1.14  if app.session.member_id then
    1.15    if initiative then
    1.16      initiative:load_everything_for_member_id(app.session.member.id)

Impressum / About Us