mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
oops, I broke the build. Fixed now
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user