oops, I broke the build. Fixed now
parent
3ddf9da1f4
commit
664de12898
|
@ -234,9 +234,9 @@ namespace OpenSim.Framework.Data.SQLite
|
||||||
/// <returns>A class containing item information</returns>
|
/// <returns>A class containing item information</returns>
|
||||||
public InventoryItemBase getInventoryItem(LLUUID item)
|
public InventoryItemBase getInventoryItem(LLUUID item)
|
||||||
{
|
{
|
||||||
DataRows[] rows = ds.Tables["inventoryitems"].Find(item);
|
DataRow row = ds.Tables["inventoryitems"].Rows.Find(item);
|
||||||
if (rows.Length == 1)
|
if (row != null)
|
||||||
return this.buildItem(rows[0]);
|
return this.buildItem(row);
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue