diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs index ae600bb..bc56963 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | |||
@@ -271,6 +271,10 @@ namespace OpenSim.Services.Connectors | |||
271 | { | 271 | { |
272 | newID = SynchronousRestObjectRequester. | 272 | newID = SynchronousRestObjectRequester. |
273 | MakeRequest<AssetBase, string>("POST", uri, asset); | 273 | MakeRequest<AssetBase, string>("POST", uri, asset); |
274 | if (newID == null) | ||
275 | { | ||
276 | newID = UUID.Zero.ToString(); | ||
277 | } | ||
274 | } | 278 | } |
275 | catch (Exception e) | 279 | catch (Exception e) |
276 | { | 280 | { |