aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-01-15 00:28:58 +0000
committerJustin Clark-Casey (justincc)2014-01-15 00:28:58 +0000
commit91d86301efd478f9a10a077597e9c631e029457b (patch)
tree0c298b09c55bd7d8d5eb1bb5b9d7a83c2173f65c /OpenSim/Data/SQLite/SQLiteUserProfilesData.cs
parentFix false positive test failure in TestRepeatSameDrawContainingImageReusingTe... (diff)
parentDynamically adjust to the number of visual params sent. (diff)
downloadopensim-SC_OLD-91d86301efd478f9a10a077597e9c631e029457b.zip
opensim-SC_OLD-91d86301efd478f9a10a077597e9c631e029457b.tar.gz
opensim-SC_OLD-91d86301efd478f9a10a077597e9c631e029457b.tar.bz2
opensim-SC_OLD-91d86301efd478f9a10a077597e9c631e029457b.tar.xz
Merge branch '0.7.6-post-fixes' of ssh://opensimulator.org/var/git/opensim into 0.7.6-post-fixes
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserProfilesData.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs
index 70ce07c..0a6c625 100644
--- a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs
@@ -810,11 +810,12 @@ namespace OpenSim.Data.SQLite
810 else 810 else
811 { 811 {
812 query = "INSERT INTO usersettings VALUES "; 812 query = "INSERT INTO usersettings VALUES ";
813 query += "(:Id,'false','false', '')"; 813 query += "(:Id,'false','false', :Email)";
814 814
815 using (SqliteCommand put = (SqliteCommand)m_connection.CreateCommand()) 815 using (SqliteCommand put = (SqliteCommand)m_connection.CreateCommand())
816 { 816 {
817 put.Parameters.AddWithValue(":Id", pref.UserId.ToString()); 817 put.Parameters.AddWithValue(":Id", pref.UserId.ToString());
818 put.Parameters.AddWithValue(":Email", pref.EMail);
818 put.ExecuteNonQuery(); 819 put.ExecuteNonQuery();
819 820
820 } 821 }