aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserProfilesService/UserProfilesService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserProfilesService/UserProfilesService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/UserProfilesService/UserProfilesService.cs b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
index 75101ff..96c13c0 100644
--- a/OpenSim/Services/UserProfilesService/UserProfilesService.cs
+++ b/OpenSim/Services/UserProfilesService/UserProfilesService.cs
@@ -196,6 +196,9 @@ namespace OpenSim.Services.ProfilesService
196 196
197 public bool UserPreferencesRequest(ref UserPreferences pref, ref string result) 197 public bool UserPreferencesRequest(ref UserPreferences pref, ref string result)
198 { 198 {
199 if (!ProfilesData.GetUserPreferences(ref pref, ref result))
200 return false;
201
199 if(string.IsNullOrEmpty(pref.EMail)) 202 if(string.IsNullOrEmpty(pref.EMail))
200 { 203 {
201 UserAccount account = new UserAccount(); 204 UserAccount account = new UserAccount();
@@ -228,9 +231,6 @@ namespace OpenSim.Services.ProfilesService
228 return false; 231 return false;
229 } 232 }
230 } 233 }
231 if (!ProfilesData.GetUserPreferences (ref pref, ref result))
232 return false;
233
234 234
235 if(string.IsNullOrEmpty(pref.EMail)) 235 if(string.IsNullOrEmpty(pref.EMail))
236 pref.EMail = "No Email Address On Record"; 236 pref.EMail = "No Email Address On Record";