it allways assign bad role. I've had a look at the database and it seems like the module only assign the first RID (authenticated, administrator users).

This is a critical bug because the administrator role is assigned!

CommentFileSizeAuthor
#3 autoassignrole.patch150 bytesDoik

Comments

eclypse’s picture

Sorry, i forgot to precise i was talking about self assign role.

jmaties@drupal.org’s picture

I cant assign role 0 in multiple roles

Doik’s picture

Status: Active » Needs review
StatusFileSize
new150 bytes

the function array_multisort is responsible, it will set new keys while sorting.
Try the following patch, it replaces array_multisort with asort (or arsort resp.), seems to work for me.
so long
Doik

eclypse’s picture

Status: Needs review » Fixed

Thanks a lot! your patch works for me.

I really appreciate your help.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.