diff options
author | BlueWall | 2014-11-24 10:59:39 -0500 |
---|---|---|
committer | BlueWall | 2014-11-24 11:00:47 -0500 |
commit | 41cc73233c1d2e17222fdc510606032701690a60 (patch) | |
tree | 2f28306a11d19b36c7bbeadf1a4bc868f39cd259 /OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |
parent | Fix handling of user preference updates where no email address is supplied (diff) | |
download | opensim-SC_OLD-41cc73233c1d2e17222fdc510606032701690a60.zip opensim-SC_OLD-41cc73233c1d2e17222fdc510606032701690a60.tar.gz opensim-SC_OLD-41cc73233c1d2e17222fdc510606032701690a60.tar.bz2 opensim-SC_OLD-41cc73233c1d2e17222fdc510606032701690a60.tar.xz |
Re-work handling of email notifications settings.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs index fd6a1c5..0a745fd 100644 --- a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |||
@@ -799,9 +799,6 @@ namespace OpenSim.Data.SQLite | |||
799 | bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail); | 799 | bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail); |
800 | bool.TryParse((string)reader["visible"], out pref.Visible); | 800 | bool.TryParse((string)reader["visible"], out pref.Visible); |
801 | pref.EMail = (string)reader["email"]; | 801 | pref.EMail = (string)reader["email"]; |
802 | |||
803 | if(string.IsNullOrEmpty(pref.EMail)) | ||
804 | pref.EMail = "No EMail Address Provided"; | ||
805 | } | 802 | } |
806 | else | 803 | else |
807 | { | 804 | { |