mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Apparently is is possible to have a user without a user_profile. This fix will return nil for any user_profile fields during serialization (like the after delete web hook) instead of blowing up.