Problem/Motivation

When you edit a node which is posted in the community (so not in any group) and the secret group module is enabled you'll see a notice on every edit node page.

Notice: Undefined offset: 0 in social_group_secret_form_node_form_alter() (line 168 of profiles/contrib/social/modules/social_features/social_group/modules/social_group_secret/social_group_secret.module).

Proposed resolution

The code should be much more defensive.

Comments

jaapjan created an issue. See original summary.

jaapjan’s picture

albertoalaejos’s picture

Status: Needs review » Fixed

  • albertoalaejos authored 183da91 on 8.x-7.x
    Merge pull request #1534 from goalgorilla/feature/3086219
    
    Issue #...
  • jaapjan committed 9906579 on 8.x-7.x
    Issue #3086219 by jaapjan: social_group_secret_form_node_form_alter()...

  • jaapjan committed 220a469 on 8.x-6.x
    Issue #3086219 by jaapjan: social_group_secret_form_node_form_alter()...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.