aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index f7d187d..66fbcb9 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -1057,7 +1057,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
1057 InventoryItemBase item = new InventoryItemBase(itemID, agentID); 1057 InventoryItemBase item = new InventoryItemBase(itemID, agentID);
1058 item = invService.GetItem(item); 1058 item = invService.GetItem(item);
1059 1059
1060 if (item.CreatorData != null && item.CreatorData != string.Empty) 1060 if (item != null && item.CreatorData != null && item.CreatorData != string.Empty)
1061 UserManagementModule.AddUser(item.CreatorIdAsUuid, item.CreatorData); 1061 UserManagementModule.AddUser(item.CreatorIdAsUuid, item.CreatorData);
1062 1062
1063 return item; 1063 return item;
@@ -1065,4 +1065,4 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
1065 1065
1066 #endregion 1066 #endregion
1067 } 1067 }
1068} 1068} \ No newline at end of file