Problem/Motivation

In social_profile_privacy_form_alter(), $account is not checked for being NULL when the parameter user is not found in URL. This blocks any user to edit profiles.

Proposed resolution

Add a null check.

Comments

navneet0693 created an issue. See original summary.

navneet0693’s picture

Status: Needs work » Needs review
jaapjan’s picture

Status: Needs review » Fixed

Will be in 7.0 and 6.x

  • navneet0693 authored e311d64 on 8.x-7.x
    IIssue #3085803 by navneet0693, jaapjan: Call to id() on NULL in...

  • jaapjan committed c462576 on 8.x-6.x authored by navneet0693
    IIssue #3085803 by navneet0693, jaapjan: Call to id() on NULL in...

Status: Fixed » Closed (fixed)

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