diff options
author | Justin Clark-Casey (justincc) | 2014-07-31 00:28:51 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-31 00:32:35 +0100 |
commit | 6c4eed5539ac0d8d6bab9166a8e320aeb12c3cd6 (patch) | |
tree | f3a9f0828f636d0c796de1045161a69d272b0397 /OpenSim/Addons/Groups | |
parent | Add Chat module extra feature settings to GridExtraFeatures service (diff) | |
download | opensim-SC-6c4eed5539ac0d8d6bab9166a8e320aeb12c3cd6.zip opensim-SC-6c4eed5539ac0d8d6bab9166a8e320aeb12c3cd6.tar.gz opensim-SC-6c4eed5539ac0d8d6bab9166a8e320aeb12c3cd6.tar.bz2 opensim-SC-6c4eed5539ac0d8d6bab9166a8e320aeb12c3cd6.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.
Diffstat (limited to 'OpenSim/Addons/Groups')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsExtendedData.cs | 2 |
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()); |