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
Justin Clark-Casey (justincc) 2014-07-31 00:28:51 +01:00 committed by Justin Clark-Casey
parent eedefdc5ff
commit 32a9fcd8b3
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());