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
parent
3ec695e05b
commit
6c4eed5539
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue