liquid_feedback_frontend

changeset 392:05b357bee352

Fix wrong order in registration action
author bsw
date Mon Mar 05 20:35:30 2012 +0100 (2012-03-05)
parents 4cc560fb92d4
children 3e76be965ebb
files app/main/index/_action/register.lua
line diff
     1.1 --- a/app/main/index/_action/register.lua	Mon Mar 05 20:17:25 2012 +0100
     1.2 +++ b/app/main/index/_action/register.lua	Mon Mar 05 20:35:30 2012 +0100
     1.3 @@ -7,8 +7,6 @@
     1.4    :for_update()
     1.5    :exec()
     1.6    
     1.7 -local old_notify_email = member.notify_email
     1.8 -
     1.9  if not member then
    1.10    slot.put_into("error", _"The code you've entered is invalid")
    1.11    request.redirect{
    1.12 @@ -19,6 +17,8 @@
    1.13    return false
    1.14  end
    1.15  
    1.16 +local old_notify_email = member.notify_email
    1.17 +
    1.18  local notify_email = param.get("notify_email")
    1.19  
    1.20  if not config.locked_profile_fields.notify_email and notify_email then

Impressum / About Us