diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index d068265..0fddc42 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs | |||
@@ -806,7 +806,7 @@ namespace OpenSim.Data.SQLite | |||
806 | row["webLoginKey"] = user.WebLoginKey; | 806 | row["webLoginKey"] = user.WebLoginKey; |
807 | row["userFlags"] = user.UserFlags; | 807 | row["userFlags"] = user.UserFlags; |
808 | row["godLevel"] = user.GodLevel; | 808 | row["godLevel"] = user.GodLevel; |
809 | row["customType"] = user.CustomType; | 809 | row["customType"] = user.CustomType == null ? "" : user.CustomType; |
810 | row["partner"] = user.Partner.ToString(); | 810 | row["partner"] = user.Partner.ToString(); |
811 | 811 | ||
812 | // ADO.NET doesn't handle NULL very well | 812 | // ADO.NET doesn't handle NULL very well |