From c3d7d7bb5184e68ff10b4dc5cecc01b03672acac Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 5 Oct 2008 04:26:26 +0000 Subject: Change category in snapshot to a number, to match the one in search --- OpenSim/Region/DataSnapshot/LandSnapshot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/DataSnapshot') diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs index c4328e2..5b75417 100644 --- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs +++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs @@ -151,7 +151,7 @@ namespace OpenSim.Region.DataSnapshot.Providers public_attr.Value = GetPublicPermissions(parcel); // Check the category of the Parcel XmlAttribute category_attr = nodeFactory.CreateAttribute("category"); - category_attr.Value = parcel.Category.ToString(); + category_attr.Value = ((int)parcel.Category).ToString(); //XmlAttribute entities_attr = nodeFactory.CreateAttribute("entities"); -- cgit v1.1