aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
diff options
context:
space:
mode:
authorSean Dague2007-09-27 13:53:50 +0000
committerSean Dague2007-09-27 13:53:50 +0000
commit664de1289838f17a0187ad543abcf58b4e445dd5 (patch)
tree09d77a222ed221d1ce7a3edac71ca0aa9eb75822 /OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
parent* Tleiades patch #445 - the inventory folders displayed does not show the exp... (diff)
downloadopensim-SC_OLD-664de1289838f17a0187ad543abcf58b4e445dd5.zip
opensim-SC_OLD-664de1289838f17a0187ad543abcf58b4e445dd5.tar.gz
opensim-SC_OLD-664de1289838f17a0187ad543abcf58b4e445dd5.tar.bz2
opensim-SC_OLD-664de1289838f17a0187ad543abcf58b4e445dd5.tar.xz
oops, I broke the build. Fixed now
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs6
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 }