Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
navneet0693 CreditAttribution: navneet0693 as a volunteer and commentedAdded a PR: https://github.com/goalgorilla/open_social/pull/1533
Comment #3
jaapjan CreditAttribution: jaapjan for Open Social commentedWill be in 7.0 and 6.x