Fix bug where calling PUTGROUP on the core groups service without specifying a ServiceLocation would set the group name to an empty string.

This should set the ServiceLocation to an empty string instead.
bullet-2.82
Justin Clark-Casey (justincc) 2014-07-31 00:28:51 +01:00
parent 3ec695e05b
commit 6c4eed5539
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ namespace OpenSim.Groups
if (dict.ContainsKey("ServiceLocation") && dict["ServiceLocation"] != null) if (dict.ContainsKey("ServiceLocation") && dict["ServiceLocation"] != null)
grec.ServiceLocation = dict["ServiceLocation"].ToString(); grec.ServiceLocation = dict["ServiceLocation"].ToString();
else else
grec.GroupName = string.Empty; grec.ServiceLocation = string.Empty;
if (dict.ContainsKey("ShownInList") && dict["ShownInList"] != null) if (dict.ContainsKey("ShownInList") && dict["ShownInList"] != null)
grec.ShowInList = bool.Parse(dict["ShownInList"].ToString()); grec.ShowInList = bool.Parse(dict["ShownInList"].ToString());