From e2b0852c9382e4d24e11d51340175dfa154c57bf Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Wed, 27 Aug 2008 02:45:10 +0000 Subject: Mantis#2052. Thank you kindly, Avdleeuw for a patch that: After having built revision 5992, OpenSim would start while issuing some errors regards updates to user profiles (Master Avatar, and other manually added avatars). Issue 2027 dealt with the MySQL part. This issue deals with the SQLite part. --- OpenSim/Data/SQLite/SQLiteUserData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data') 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 row["webLoginKey"] = user.WebLoginKey; row["userFlags"] = user.UserFlags; row["godLevel"] = user.GodLevel; - row["customType"] = user.CustomType; + row["customType"] = user.CustomType == null ? "" : user.CustomType; row["partner"] = user.Partner.ToString(); // ADO.NET doesn't handle NULL very well -- cgit v1.1