summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-12-13 18:21:11 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-12-13 18:21:11 +0200
commit5111e0c921d17b83b41aef02b6334a8361ce1181 (patch)
tree2792378776b631e1421a2e9ab44721891c73d213 /indra
parent80054757ed0eee816c253a7707576252b7e89d9e (diff)
SL-10229 FIXED Group icon doesn't display by default in the People and Profile floaters after creating new group
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelgroupgeneral.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp
index f85a2ffbc1..b53cd222e7 100644
--- a/indra/newview/llpanelgroupgeneral.cpp
+++ b/indra/newview/llpanelgroupgeneral.cpp
@@ -461,11 +461,12 @@ bool LLPanelGroupGeneral::createGroupCallback(const LLSD& notification, const LL
// Yay! We are making a new group!
U32 enrollment_fee = (mCtrlEnrollmentFee->get() ?
(U32) mSpinEnrollmentFee->get() : 0);
-
+ LLUUID insignia_id = mInsignia->getImageItemID().isNull() ? LLUUID::null : mInsignia->getImageAssetID();
+
LLGroupMgr::getInstance()->sendCreateGroupRequest(mGroupNameEditor->getText(),
mEditCharter->getText(),
mCtrlShowInGroupList->get(),
- mInsignia->getImageAssetID(),
+ insignia_id,
enrollment_fee,
mCtrlOpenEnrollment->get(),
false,