user_save function needs rid to be set as key of an array but array($rid) puts rid into value and not key.
I created an one line patch that fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| drupal_test_case.patch.txt | 658 bytes | Rok Žlender |
user_save function needs rid to be set as key of an array but array($rid) puts rid into value and not key.
I created an one line patch that fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| drupal_test_case.patch.txt | 658 bytes | Rok Žlender |
Comments
Comment #1
Thomas Ilsche commentedI commited a slightly modified patch.
$ua['roles'] = array($rid=>$rid);
just to be sure.
Comment #2
webchickThis looks like it's been fixed.