X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7cbd83bf01c65697798fa6575eb3a5a603e01c4d..e30813bbb1fce58f29285140bfea2d52d1dc555f:/app/controllers/users_controller.rb?ds=inline diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index bbe60e39c..925d8752f 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -36,7 +36,7 @@ class UsersController < ApplicationController def save @title = t "users.new.title" - if params[:decline] || !params[:read_tou] || params[:read_tou] == 0 + if params[:decline] || !params[:read_tou] || params[:read_tou] == "0" if current_user current_user.terms_seen = true