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/PGSQL/PGSQLUserProfilesData.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/PGSQL/PGSQLUserProfilesData.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs index e263857..1ac952f 100644 --- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | |||
@@ -902,9 +902,6 @@ namespace OpenSim.Data.PGSQL | |||
902 | bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail); | 902 | bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail); |
903 | bool.TryParse((string)reader["visible"], out pref.Visible); | 903 | bool.TryParse((string)reader["visible"], out pref.Visible); |
904 | pref.EMail = (string)reader["email"]; | 904 | pref.EMail = (string)reader["email"]; |
905 | |||
906 | if(string.IsNullOrEmpty(pref.EMail)) | ||
907 | pref.EMail = "No EMail Address Provided"; | ||
908 | } | 905 | } |
909 | else | 906 | else |
910 | { | 907 | { |