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.0.8.0.3
parent
eedefdc5ff
commit
32a9fcd8b3
|
@ -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