aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLXInventoryData.cs
diff options
context:
space:
mode:
authorKitto Flora2011-01-20 06:52:10 +0000
committerKitto Flora2011-01-20 06:52:10 +0000
commitb92673c1c97b2c0f5d76be7d5093b7611483c5a0 (patch)
tree71632ad1bb4d79fb401316b723b6439682ea6f45 /OpenSim/Data/MySQL/MySQLXInventoryData.cs
parentFix drift of static prim. (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-b92673c1c97b2c0f5d76be7d5093b7611483c5a0.zip
opensim-SC-b92673c1c97b2c0f5d76be7d5093b7611483c5a0.tar.gz
opensim-SC-b92673c1c97b2c0f5d76be7d5093b7611483c5a0.tar.bz2
opensim-SC-b92673c1c97b2c0f5d76be7d5093b7611483c5a0.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLXInventoryData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLXInventoryData.cs b/OpenSim/Data/MySQL/MySQLXInventoryData.cs
index 3c73095..287c4dd 100644
--- a/OpenSim/Data/MySQL/MySQLXInventoryData.cs
+++ b/OpenSim/Data/MySQL/MySQLXInventoryData.cs
@@ -130,7 +130,7 @@ namespace OpenSim.Data.MySQL
130 { 130 {
131 using (MySqlCommand cmd = new MySqlCommand()) 131 using (MySqlCommand cmd = new MySqlCommand())
132 { 132 {
133 cmd.CommandText = String.Format("select * from inventoryitems where avatarId = ?uuid and assetType = ?type and flags = 1", m_Realm); 133 cmd.CommandText = String.Format("select * from inventoryitems where avatarId = ?uuid and assetType = ?type and flags & 1", m_Realm);
134 134
135 cmd.Parameters.AddWithValue("?uuid", principalID.ToString()); 135 cmd.Parameters.AddWithValue("?uuid", principalID.ToString());
136 cmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture); 136 cmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture);