diff options
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index 52b9728..95c3208 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -665,7 +665,11 @@ namespace OpenSim.Groups | |||
665 | GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(), | 665 | GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(), |
666 | new UUID(request["InviteID"].ToString())); | 666 | new UUID(request["InviteID"].ToString())); |
667 | 667 | ||
668 | result["RESULT"] = GroupsDataUtils.GroupInviteInfo(invite); | 668 | if (invite != null) |
669 | result["RESULT"] = GroupsDataUtils.GroupInviteInfo(invite); | ||
670 | else | ||
671 | result["RESULT"] = "NULL"; | ||
672 | |||
669 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); | 673 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); |
670 | } | 674 | } |
671 | 675 | ||