aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
diff options
context:
space:
mode:
authorOren Hurvitz2014-01-05 11:28:33 +0200
committerOren Hurvitz2014-03-24 18:02:05 +0100
commit1b30ae81b5501fbd21b0f589df6286421b0c083a (patch)
treecdb2cb135e96a27fd66d0c188c62a9fc6c5644b7 /OpenSim/Data/MySQL/MySQLUserProfilesData.cs
parentDon't show hidden groups in search results (diff)
downloadopensim-SC-1b30ae81b5501fbd21b0f589df6286421b0c083a.zip
opensim-SC-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.gz
opensim-SC-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.bz2
opensim-SC-1b30ae81b5501fbd21b0f589df6286421b0c083a.tar.xz
Fixed updating usersettings in the database
Resolves http://opensimulator.org/mantis/view.php?id=6938
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserProfilesData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserProfilesData.cs4
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();