Commit d7ade5cbafb99711118616290a965912790bd421
1 parent
891a2fb0
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
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,7 +68,8 @@ class User < ActiveRecord::Base | ||
| 68 | 68 | ||
| 69 | attr_writer :person_data | 69 | attr_writer :person_data |
| 70 | def person_data | 70 | def person_data |
| 71 | - @person_data || {} | 71 | + @person_data = {} if @person_data.nil? |
| 72 | + @person_data | ||
| 72 | end | 73 | end |
| 73 | 74 | ||
| 74 | def email_domain | 75 | def email_domain |