diff options
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteSimulationData.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs index fda7728..91fc704 100644 --- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs | |||
@@ -2145,7 +2145,11 @@ namespace OpenSim.Data.SQLite | |||
2145 | row["VolumeDetect"] = 0; | 2145 | row["VolumeDetect"] = 0; |
2146 | 2146 | ||
2147 | row["MediaURL"] = prim.MediaUrl; | 2147 | row["MediaURL"] = prim.MediaUrl; |
2148 | row["DynAttrs"] = prim.DynAttrs.ToXml(); | 2148 | |
2149 | if (prim.DynAttrs.Count > 0) | ||
2150 | row["DynAttrs"] = prim.DynAttrs.ToXml(); | ||
2151 | else | ||
2152 | row["DynAttrs"] = null; | ||
2149 | } | 2153 | } |
2150 | 2154 | ||
2151 | /// <summary> | 2155 | /// <summary> |