aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserProfilesService/UserProfilesService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserProfilesService/UserProfilesService.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Services/UserProfilesService/UserProfilesService.cs b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
index 675cd07..75101ff 100644
--- a/OpenSim/Services/UserProfilesService/UserProfilesService.cs
+++ b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
@@ -209,7 +209,10 @@ namespace OpenSim.Services.ProfilesService
209 pref.EMail = string.Empty; 209 pref.EMail = string.Empty;
210 } 210 }
211 else 211 else
212 {
212 pref.EMail = account.Email; 213 pref.EMail = account.Email;
214 UserPreferencesUpdate(ref pref, ref result);
215 }
213 } 216 }
214 catch 217 catch
215 { 218 {
@@ -225,7 +228,14 @@ namespace OpenSim.Services.ProfilesService
225 return false; 228 return false;
226 } 229 }
227 } 230 }
228 return ProfilesData.GetUserPreferences(ref pref, ref result); 231 if (!ProfilesData.GetUserPreferences (ref pref, ref result))
232 return false;
233
234
235 if(string.IsNullOrEmpty(pref.EMail))
236 pref.EMail = "No Email Address On Record";
237
238 return true;
229 } 239 }
230 #endregion User Preferences 240 #endregion User Preferences
231 241