aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-07-31 00:28:51 +0100
committerJustin Clark-Casey2014-08-02 00:58:30 +0100
commit32a9fcd8b36baf206f786f4f05cae38c865afad7 (patch)
tree86c2a9eb7cf27bcb2c7fae4613621915889d3f1c
parentBulletSim: rearrange code for sensing whether shapes have been (diff)
downloadopensim-SC_OLD-32a9fcd8b36baf206f786f4f05cae38c865afad7.zip
opensim-SC_OLD-32a9fcd8b36baf206f786f4f05cae38c865afad7.tar.gz
opensim-SC_OLD-32a9fcd8b36baf206f786f4f05cae38c865afad7.tar.bz2
opensim-SC_OLD-32a9fcd8b36baf206f786f4f05cae38c865afad7.tar.xz
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.
-rw-r--r--OpenSim/Addons/Groups/GroupsExtendedData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/GroupsExtendedData.cs b/OpenSim/Addons/Groups/GroupsExtendedData.cs
index 1632aee..c783b9e 100644
--- a/OpenSim/Addons/Groups/GroupsExtendedData.cs
+++ b/OpenSim/Addons/Groups/GroupsExtendedData.cs
@@ -174,7 +174,7 @@ namespace OpenSim.Groups
174 if (dict.ContainsKey("ServiceLocation") && dict["ServiceLocation"] != null) 174 if (dict.ContainsKey("ServiceLocation") && dict["ServiceLocation"] != null)
175 grec.ServiceLocation = dict["ServiceLocation"].ToString(); 175 grec.ServiceLocation = dict["ServiceLocation"].ToString();
176 else 176 else
177 grec.GroupName = string.Empty; 177 grec.ServiceLocation = string.Empty;
178 178
179 if (dict.ContainsKey("ShownInList") && dict["ShownInList"] != null) 179 if (dict.ContainsKey("ShownInList") && dict["ShownInList"] != null)
180 grec.ShowInList = bool.Parse(dict["ShownInList"].ToString()); 180 grec.ShowInList = bool.Parse(dict["ShownInList"].ToString());