If updating a user's profile notes fails then return an error

Resolves http://opensimulator.org/mantis/view.php?id=6938
0.8.0.3
Oren Hurvitz 2013-10-31 09:00:59 +02:00
parent 1b30ae81b5
commit 8cec0b3fa1
1 changed files with 4 additions and 4 deletions

View File

@ -273,10 +273,10 @@ namespace OpenSim.Server.Handlers
response.Result = OSD.SerializeMembers(note); response.Result = OSD.SerializeMembers(note);
return true; return true;
} }
object Notes = (object) note; response.Error.Code = ErrorCode.InternalError;
OSD.DeserializeMembers(ref Notes, (OSDMap)json["params"]); response.Error.Message = "Error reading notes";
return true; return false;
} }
public bool NotesUpdate(OSDMap json, ref JsonRpcResponse response) public bool NotesUpdate(OSDMap json, ref JsonRpcResponse response)