aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLSimulationData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLSimulationData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index 1a6a0fb..c95311e 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -1645,7 +1645,11 @@ namespace OpenSim.Data.MySQL
1645 1645
1646 cmd.Parameters.AddWithValue("LinkNumber", prim.LinkNum); 1646 cmd.Parameters.AddWithValue("LinkNumber", prim.LinkNum);
1647 cmd.Parameters.AddWithValue("MediaURL", prim.MediaUrl); 1647 cmd.Parameters.AddWithValue("MediaURL", prim.MediaUrl);
1648 cmd.Parameters.AddWithValue("DynAttrs", prim.DynAttrs.ToXml()); 1648
1649 if (prim.DynAttrs.Count > 0)
1650 cmd.Parameters.AddWithValue("DynAttrs", prim.DynAttrs.ToXml());
1651 else
1652 cmd.Parameters.AddWithValue("DynAttrs", null);
1649 } 1653 }
1650 1654
1651 /// <summary> 1655 /// <summary>