With my current setup, the profile fields where not restricted for editing at all.
Drupal 6.33, PHP 5.4.4.

After some inspection, it turns out that a form-array is modified that is not passed by reference; so the changes are not propagated to the caller and get lost.

Attached a patch to solve this.

This may actually be releated to several other open issues, but it was not clear which ones were covered by this, so I decided to open a new issue.

CommentFileSizeAuthor
profile_permission_editfields.diff620 bytesFrodo Looijaard

Comments

jasonkryst’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this fixes the issue when using the module with a PHP 5.4+ setup. Thank you for the patch!