aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/HypergridService/HGInventoryService.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Services/HypergridService/HGInventoryService.cs b/OpenSim/Services/HypergridService/HGInventoryService.cs
index daf8c3a..41d5a7a 100644
--- a/OpenSim/Services/HypergridService/HGInventoryService.cs
+++ b/OpenSim/Services/HypergridService/HGInventoryService.cs
@@ -319,13 +319,14 @@ namespace OpenSim.Services.HypergridService
319 public override InventoryItemBase GetItem(InventoryItemBase item) 319 public override InventoryItemBase GetItem(InventoryItemBase item)
320 { 320 {
321 InventoryItemBase it = base.GetItem(item); 321 InventoryItemBase it = base.GetItem(item);
322 if (it != null)
323 {
324 UserAccount user = m_Cache.GetUser(it.CreatorId);
322 325
323 UserAccount user = m_Cache.GetUser(it.CreatorId); 326 // Adjust the creator data
324 327 if (user != null && it != null && (it.CreatorData == null || it.CreatorData == string.Empty))
325 // Adjust the creator data 328 it.CreatorData = m_HomeURL + ";" + user.FirstName + " " + user.LastName;
326 if (user != null && it != null && (it.CreatorData == null || it.CreatorData == string.Empty)) 329 }
327 it.CreatorData = m_HomeURL + ";" + user.FirstName + " " + user.LastName;
328
329 return it; 330 return it;
330 } 331 }
331 332