oops, I broke the build. Fixed now

afrisby
Sean Dague 2007-09-27 13:53:50 +00:00
parent 3ddf9da1f4
commit 664de12898
1 changed files with 3 additions and 3 deletions

View File

@ -234,9 +234,9 @@ namespace OpenSim.Framework.Data.SQLite
/// <returns>A class containing item information</returns>
public InventoryItemBase getInventoryItem(LLUUID item)
{
DataRows[] rows = ds.Tables["inventoryitems"].Find(item);
if (rows.Length == 1)
return this.buildItem(rows[0]);
DataRow row = ds.Tables["inventoryitems"].Rows.Find(item);
if (row != null)
return this.buildItem(row);
else
return null;
}