diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs index c8424cc..c7b1d8b 100644 --- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | |||
@@ -940,9 +940,9 @@ namespace OpenSim.Data.PGSQL | |||
940 | dbcon.Open(); | 940 | dbcon.Open(); |
941 | using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon)) | 941 | using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon)) |
942 | { | 942 | { |
943 | cmd.Parameters.Add(m_database.CreateParameter("ImViaEmail", pref.IMViaEmail.ToString().ToLower ())); | 943 | cmd.Parameters.Add(m_database.CreateParameter("ImViaEmail", pref.IMViaEmail)); |
944 | cmd.Parameters.Add(m_database.CreateParameter("Visible", pref.Visible.ToString().ToLower ())); | 944 | cmd.Parameters.Add(m_database.CreateParameter("Visible", pref.Visible)); |
945 | cmd.Parameters.Add(m_database.CreateParameter("EMail", pref.EMail.ToString().ToLower ())); | 945 | cmd.Parameters.Add(m_database.CreateParameter("EMail", pref.EMail.ToString().ToLower())); |
946 | cmd.Parameters.Add(m_database.CreateParameter("uuid", pref.UserId)); | 946 | cmd.Parameters.Add(m_database.CreateParameter("uuid", pref.UserId)); |
947 | 947 | ||
948 | cmd.ExecuteNonQuery(); | 948 | cmd.ExecuteNonQuery(); |