aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs2
-rw-r--r--OpenSim/Services/HypergridService/HGAssetService.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs
index fcecbbc..144cc87 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGAssetMapper.cs
@@ -113,7 +113,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
113 asset1.Data = asset.Data; 113 asset1.Data = asset.Data;
114 114
115 string id = m_scene.AssetService.Store(asset1); 115 string id = m_scene.AssetService.Store(asset1);
116 if (id == UUID.Zero.ToString()) 116 if (id == string.Empty)
117 { 117 {
118 m_log.DebugFormat("[HG ASSET MAPPER]: Asset server {0} did not accept {1}", url, asset.ID); 118 m_log.DebugFormat("[HG ASSET MAPPER]: Asset server {0} did not accept {1}", url, asset.ID);
119 success = false; 119 success = false;
diff --git a/OpenSim/Services/HypergridService/HGAssetService.cs b/OpenSim/Services/HypergridService/HGAssetService.cs
index f1275a0..84dec8d 100644
--- a/OpenSim/Services/HypergridService/HGAssetService.cs
+++ b/OpenSim/Services/HypergridService/HGAssetService.cs
@@ -137,7 +137,7 @@ namespace OpenSim.Services.HypergridService
137 public override string Store(AssetBase asset) 137 public override string Store(AssetBase asset)
138 { 138 {
139 if (!m_AssetPerms.AllowedImport(asset.Type)) 139 if (!m_AssetPerms.AllowedImport(asset.Type))
140 return UUID.Zero.ToString(); 140 return string.Empty;
141 141
142 return base.Store(asset); 142 return base.Store(asset);
143 } 143 }