|
|
@@ -26,6 +26,10 @@ class BxGroupsFormEntry extends BxBaseModProfileFormEntry
|
|
|
$this->aInputs[$CNF['FIELD_ALLOW_VIEW_TO']] = BxGroupsPrivacy::getGroupChooser($CNF['OBJECT_PRIVACY_VIEW']);
|
|
|
$this->aInputs[$CNF['FIELD_ALLOW_VIEW_TO']]['db']['pass'] = 'Xss';
|
|
|
}
|
|
|
+
|
|
|
+ if(!isset($this->aInputs['initial_members']['value'])) {
|
|
|
+ $this->aInputs['initial_members']['value'] = array(bx_get_logged_profile_id());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
protected function genCustomInputInitialMembers ($aInput)
|