Skip to content
Snippets Groups Projects
Commit 1a21ce62 authored by Alexei Arabadji's avatar Alexei Arabadji
Browse files

fixed EXT-3838 “[BSI] Resident profile tries to link "(none)" when Resident...

fixed EXT-3838 “[BSI] Resident profile tries to link "(none)" when Resident isn't member of any groups”,
avoided translating null group id as SLURL;

--HG--
branch : product-engine
parent dff5b2f6
No related branches found
No related tags found
No related merge requests found
...@@ -594,8 +594,10 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g ...@@ -594,8 +594,10 @@ void LLPanelAvatarProfile::processGroupProperties(const LLAvatarGroups* avatar_g
if (it != mGroups.begin()) if (it != mGroups.begin())
groups += ", "; groups += ", ";
std::string group_url= it->second.notNull()
std::string group_url="[secondlife:///app/group/" + it->second.asString() + "/about " + it->first + "]"; ? "[secondlife:///app/group/" + it->second.asString() + "/about " + it->first + "]"
: getString("no_partner_text");
groups += group_url; groups += group_url;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment