diff options
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index de52623..cf367ef 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -1679,7 +1679,7 @@ namespace OpenSim.Data.MySQL | |||
1679 | else | 1679 | else |
1680 | cmd.Parameters.AddWithValue("KeyframeMotion", new Byte[0]); | 1680 | cmd.Parameters.AddWithValue("KeyframeMotion", new Byte[0]); |
1681 | 1681 | ||
1682 | if (prim.DynAttrs.Count > 0) | 1682 | if (prim.DynAttrs.CountNamespaces > 0) |
1683 | cmd.Parameters.AddWithValue("DynAttrs", prim.DynAttrs.ToXml()); | 1683 | cmd.Parameters.AddWithValue("DynAttrs", prim.DynAttrs.ToXml()); |
1684 | else | 1684 | else |
1685 | cmd.Parameters.AddWithValue("DynAttrs", null); | 1685 | cmd.Parameters.AddWithValue("DynAttrs", null); |