Closed (fixed)
Project:
Drupal core
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2004 at 04:42 UTC
Updated:
21 Nov 2004 at 08:15 UTC
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