diff options
author | Sean Dague | 2007-09-27 13:53:50 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-27 13:53:50 +0000 |
commit | 664de1289838f17a0187ad543abcf58b4e445dd5 (patch) | |
tree | 09d77a222ed221d1ce7a3edac71ca0aa9eb75822 | |
parent | * Tleiades patch #445 - the inventory folders displayed does not show the exp... (diff) | |
download | opensim-SC-664de1289838f17a0187ad543abcf58b4e445dd5.zip opensim-SC-664de1289838f17a0187ad543abcf58b4e445dd5.tar.gz opensim-SC-664de1289838f17a0187ad543abcf58b4e445dd5.tar.bz2 opensim-SC-664de1289838f17a0187ad543abcf58b4e445dd5.tar.xz |
oops, I broke the build. Fixed now
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs index 7d9cf75..eb0ba04 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs | |||
@@ -234,9 +234,9 @@ namespace OpenSim.Framework.Data.SQLite | |||
234 | /// <returns>A class containing item information</returns> | 234 | /// <returns>A class containing item information</returns> |
235 | public InventoryItemBase getInventoryItem(LLUUID item) | 235 | public InventoryItemBase getInventoryItem(LLUUID item) |
236 | { | 236 | { |
237 | DataRows[] rows = ds.Tables["inventoryitems"].Find(item); | 237 | DataRow row = ds.Tables["inventoryitems"].Rows.Find(item); |
238 | if (rows.Length == 1) | 238 | if (row != null) |
239 | return this.buildItem(rows[0]); | 239 | return this.buildItem(row); |
240 | else | 240 | else |
241 | return null; | 241 | return null; |
242 | } | 242 | } |