liquid_feedback_frontend
changeset 352:07b7826487c0
Added missing brackets
author | bsw |
---|---|
date | Wed Feb 29 20:13:57 2012 +0100 (2012-02-29) |
parents | 2a20b9b547ac |
children | 5bebbc39f629 |
files | app/main/index/_action/register.lua |
line diff
1.1 --- a/app/main/index/_action/register.lua Wed Feb 29 20:12:41 2012 +0100 1.2 +++ b/app/main/index/_action/register.lua Wed Feb 29 20:13:57 2012 +0100 1.3 @@ -64,7 +64,7 @@ 1.4 end 1.5 1.6 local check_member = Member:by_name(name) 1.7 - if check_member and check_member.id ~= member.id then 1.8 + if check_member and (check_member.id ~= member.id) then 1.9 slot.put_into("error", _"This name is already taken, please choose another one!") 1.10 request.redirect{ 1.11 mode = "redirect",