diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index bc51b32..5372360 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1279,7 +1279,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1279 | 1279 | ||
1280 | WriteUUID(writer, "CreatorID", sop.CreatorID, options); | 1280 | WriteUUID(writer, "CreatorID", sop.CreatorID, options); |
1281 | 1281 | ||
1282 | if (sop.CreatorData != null && sop.CreatorData != string.Empty) | 1282 | if (!string.IsNullOrEmpty(sop.CreatorData)) |
1283 | writer.WriteElementString("CreatorData", sop.CreatorData); | 1283 | writer.WriteElementString("CreatorData", sop.CreatorData); |
1284 | else if (options.ContainsKey("home")) | 1284 | else if (options.ContainsKey("home")) |
1285 | { | 1285 | { |
@@ -1464,7 +1464,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1464 | 1464 | ||
1465 | WriteUUID(writer, "CreatorID", item.CreatorID, options); | 1465 | WriteUUID(writer, "CreatorID", item.CreatorID, options); |
1466 | 1466 | ||
1467 | if (item.CreatorData != null && item.CreatorData != string.Empty) | 1467 | if (!string.IsNullOrEmpty(item.CreatorData)) |
1468 | writer.WriteElementString("CreatorData", item.CreatorData); | 1468 | writer.WriteElementString("CreatorData", item.CreatorData); |
1469 | else if (options.ContainsKey("home")) | 1469 | else if (options.ContainsKey("home")) |
1470 | { | 1470 | { |