aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/InventoryServer/InventoryManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/InventoryServer/InventoryManager.cs')
-rw-r--r--OpenSim/Grid/InventoryServer/InventoryManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Grid/InventoryServer/InventoryManager.cs b/OpenSim/Grid/InventoryServer/InventoryManager.cs
index aad02c3..ed154a8 100644
--- a/OpenSim/Grid/InventoryServer/InventoryManager.cs
+++ b/OpenSim/Grid/InventoryServer/InventoryManager.cs
@@ -111,12 +111,12 @@ namespace OpenSim.Grid.InventoryServer
111 } 111 }
112 112
113 // ensure we have valid agent id 113 // ensure we have valid agent id
114 if (f.AgentID == LLUUID.Zero) 114 if (f.Owner == LLUUID.Zero)
115 { 115 {
116 if (parent != null) 116 if (parent != null)
117 f.AgentID = parent.AgentID; 117 f.Owner = parent.Owner;
118 else 118 else
119 f.AgentID = f.ID; 119 f.Owner = f.ID;
120 modified = true; 120 modified = true;
121 } 121 }
122 122