Commit d7ade5cbafb99711118616290a965912790bd421

Authored by Leandro Santos
1 parent 891a2fb0

user hotfix

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/models/user.rb
... ... @@ -68,7 +68,8 @@ class User < ActiveRecord::Base
68 68  
69 69 attr_writer :person_data
70 70 def person_data
71   - @person_data || {}
  71 + @person_data = {} if @person_data.nil?
  72 + @person_data
72 73 end
73 74  
74 75 def email_domain
... ...