When admin adds a user, 'authenticated user' role is not assigned to the new user.
That's because validate check array_flips() roles array and 0 is inserted instead of 2. One-line fix attached.
When admin adds a user, 'authenticated user' role is not assigned to the new user.
That's because validate check array_flips() roles array and 0 is inserted instead of 2. One-line fix attached.
Comments
Comment #1
moshe weitzman commentedi can confirm that this indeed a bug in 4.5 and HEAD. i have not tested this fix though. looks simple enough.
Comment #2
dries commentedCommitted to HEAD and DRUPAL-4-5. Thanks.
Comment #3
(not verified) commented