- Issue created by @erwangel
Inside the admin interface add a new user and set some private fields. As this user doesn't yet exists in database (no user_id yet), the admins uid is used when saving the new user.
This module looks like a fork of User field privacy → . They deal the problem with drupal_static function. Here is a comment from their code:
//Don't panic: here comes drupal_static() and hook_exit() to the help. Let's store the state
// of all the user's checkboxes into a drupal_static() along with her
// {users}.mail (which we DO have here, too), and write our own precious
// data to the DB in hook_exit().
But this code is old and needs to be refactored.
Active
2.0
Code