Fixed updating usersettings in the database
Resolves http://opensimulator.org/mantis/view.php?id=69380.8.0.3
parent
b9e0d0fdb2
commit
1b30ae81b5
|
@ -974,8 +974,8 @@ namespace OpenSim.Data.MySQL
|
||||||
dbcon.Open();
|
dbcon.Open();
|
||||||
using (MySqlCommand cmd = new MySqlCommand(query, dbcon))
|
using (MySqlCommand cmd = new MySqlCommand(query, dbcon))
|
||||||
{
|
{
|
||||||
cmd.Parameters.AddWithValue("?ImViaEmail", pref.IMViaEmail);
|
cmd.Parameters.AddWithValue("?ImViaEmail", pref.IMViaEmail.ToString().ToLower());
|
||||||
cmd.Parameters.AddWithValue("?Visible", pref.Visible);
|
cmd.Parameters.AddWithValue("?Visible", pref.Visible.ToString().ToLower());
|
||||||
cmd.Parameters.AddWithValue("?uuid", pref.UserId.ToString());
|
cmd.Parameters.AddWithValue("?uuid", pref.UserId.ToString());
|
||||||
|
|
||||||
cmd.ExecuteNonQuery();
|
cmd.ExecuteNonQuery();
|
||||||
|
|
Loading…
Reference in New Issue