diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs index 78d4446688..e843457859 100644 --- a/OpenSim/Data/MySQL/MySQLEstateData.cs +++ b/OpenSim/Data/MySQL/MySQLEstateData.cs @@ -185,6 +185,13 @@ namespace OpenSim.Data.MySQL else m_FieldMap[name].SetValue(es, false); } + else if(m_FieldMap[name].GetValue(es) is libsecondlife.LLUUID) + { + LLUUID uuid = LLUUID.Zero; + + LLUUID.TryParse(r[name].ToString(), out uuid); + m_FieldMap[name].SetValue(es, uuid); + } else { m_FieldMap[name].SetValue(es, r[name]); diff --git a/OpenSim/Data/SQLite/SQLiteEstateData.cs b/OpenSim/Data/SQLite/SQLiteEstateData.cs index 93d86b69db..092f4d5b2a 100644 --- a/OpenSim/Data/SQLite/SQLiteEstateData.cs +++ b/OpenSim/Data/SQLite/SQLiteEstateData.cs @@ -109,6 +109,13 @@ namespace OpenSim.Data.SQLite else m_FieldMap[name].SetValue(es, false); } + else if(m_FieldMap[name].GetValue(es) is libsecondlife.LLUUID) + { + LLUUID uuid = LLUUID.Zero; + + LLUUID.TryParse(r[name].ToString(), out uuid); + m_FieldMap[name].SetValue(es, uuid); + } else { m_FieldMap[name].SetValue(es, Convert.ChangeType(r[name], m_FieldMap[name].FieldType)); diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs index 38c7bc3854..31655f430f 100644 --- a/OpenSim/Framework/EstateSettings.cs +++ b/OpenSim/Framework/EstateSettings.cs @@ -215,6 +215,22 @@ namespace OpenSim.Framework set { m_PublicAccess = value; } } + private string m_AbuseEmail = String.Empty; + + public string AbuseEmail + { + get { return m_AbuseEmail; } + set { m_AbuseEmail= value; } + } + + private LLUUID m_EstateOwner = LLUUID.Zero; + + public LLUUID EstateOwner + { + get { return m_EstateOwner; } + set { m_EstateOwner = value; } + } + // All those lists... // private List l_EstateManagers = new List();