Change category in snapshot to a number, to match the one in search

0.6.0-stable
Melanie Thielker 2008-10-05 04:26:26 +00:00
parent ae2c0e2d78
commit c3d7d7bb51
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
public_attr.Value = GetPublicPermissions(parcel); public_attr.Value = GetPublicPermissions(parcel);
// Check the category of the Parcel // Check the category of the Parcel
XmlAttribute category_attr = nodeFactory.CreateAttribute("category"); 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"); //XmlAttribute entities_attr = nodeFactory.CreateAttribute("entities");