Commit b8b25f860dc0dcb9bb19dfeb707eecdbf5b6e665
1 parent
b7d12e5b
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix get_signup_start_time
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public/account_controller.rb
@@ -359,7 +359,7 @@ class AccountController < ApplicationController | @@ -359,7 +359,7 @@ class AccountController < ApplicationController | ||
359 | end | 359 | end |
360 | 360 | ||
361 | def get_signup_start_time | 361 | def get_signup_start_time |
362 | - Rails.cache.read params[:signup_time_key] | 362 | + Rails.cache.read params[:signup_time_key] if params[:signup_time_key] |
363 | end | 363 | end |
364 | 364 | ||
365 | def clear_signup_start_time | 365 | def clear_signup_start_time |