diff options
author | Oren Hurvitz | 2014-01-05 11:28:33 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-24 18:02:05 +0100 |
commit | 1b30ae81b5501fbd21b0f589df6286421b0c083a (patch) | |
tree | cdb2cb135e96a27fd66d0c188c62a9fc6c5644b7 | |
parent | Don't show hidden groups in search results (diff) | |
download | opensim-SC_OLD-1b30ae81b5501fbd21b0f589df6286421b0c083a.zip opensim-SC_OLD-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.gz opensim-SC_OLD-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.bz2 opensim-SC_OLD-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.xz |
Fixed updating usersettings in the database
Resolves http://opensimulator.org/mantis/view.php?id=6938
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserProfilesData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs index 6ed3b06..cc4c5b0 100644 --- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs +++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs | |||
@@ -974,8 +974,8 @@ namespace OpenSim.Data.MySQL | |||
974 | dbcon.Open(); | 974 | dbcon.Open(); |
975 | using (MySqlCommand cmd = new MySqlCommand(query, dbcon)) | 975 | using (MySqlCommand cmd = new MySqlCommand(query, dbcon)) |
976 | { | 976 | { |
977 | cmd.Parameters.AddWithValue("?ImViaEmail", pref.IMViaEmail); | 977 | cmd.Parameters.AddWithValue("?ImViaEmail", pref.IMViaEmail.ToString().ToLower()); |
978 | cmd.Parameters.AddWithValue("?Visible", pref.Visible); | 978 | cmd.Parameters.AddWithValue("?Visible", pref.Visible.ToString().ToLower()); |
979 | cmd.Parameters.AddWithValue("?uuid", pref.UserId.ToString()); | 979 | cmd.Parameters.AddWithValue("?uuid", pref.UserId.ToString()); |
980 | 980 | ||
981 | cmd.ExecuteNonQuery(); | 981 | cmd.ExecuteNonQuery(); |