diff options
Diffstat (limited to 'OpenSim/Data/PGSQL')
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs index ade12bf..301d3dd 100644 --- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | |||
@@ -904,6 +904,7 @@ namespace OpenSim.Data.PGSQL | |||
904 | { | 904 | { |
905 | using (NpgsqlCommand put = new NpgsqlCommand(query, dbcon)) | 905 | using (NpgsqlCommand put = new NpgsqlCommand(query, dbcon)) |
906 | { | 906 | { |
907 | put.Parameters.Add(m_database.CreateParameter("Id", pref.UserId)); | ||
907 | query = "INSERT INTO usersettings VALUES "; | 908 | query = "INSERT INTO usersettings VALUES "; |
908 | query += "(:Id,'false','false', '')"; | 909 | query += "(:Id,'false','false', '')"; |
909 | 910 | ||