Explorar el Código

Ticket #4632 - Who can post: '----' is selectable in Group based modules.

AntonLV hace 2 años
padre
commit
8ce877236e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/base/groups/classes/BxBaseModGroupsPrivacyPost.php

+ 1 - 1
modules/base/groups/classes/BxBaseModGroupsPrivacyPost.php

@@ -72,7 +72,7 @@ class BxBaseModGroupsPrivacyPost extends BxBaseModProfilePrivacyPost
             $iOwnerId = bx_get_logged_profile_id();
 
         $aParams['dynamic_groups'] = array(
-            array ('key' => '', 'value' => '----'),
+            array ('key' => '', 'value' => '----', 'attrs' => array('disabled' => 'disabled')),
             array ('key' => BX_BASE_MOD_GROUPS_PG_PARTICIPANTS, 'value' => _t(!empty($CNF['T']['txt_group_participants']) ? $CNF['T']['txt_group_participants'] : '_sys_ps_group_title_participants')),
             array ('key' => BX_BASE_MOD_GROUPS_PG_FOLLOWERS, 'value' => _t(!empty($CNF['T']['txt_group_followers']) ? $CNF['T']['txt_group_followers'] : '_sys_ps_group_title_followers'))
         );