Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If a role is deleted and then an admin role is selected ksort causes the incorrect array value to be set in adminrole_adminrole. Instead asort should be used as this maintains the assocaited key order. I'd role a patch but.. as this is basically a one letter change on line 67 it doesn't seem worth it ;-)
Comment | File | Size | Author |
---|---|---|---|
#2 | admin role.patch | 857 bytes | marcingy |
Comments
Comment #1
marcingy CreditAttribution: marcingy commentedComment #2
marcingy CreditAttribution: marcingy commentedOn further investigation more changes are required so here is a patch
Comment #3
marcingy CreditAttribution: marcingy commentedComment #4
Bevan CreditAttribution: Bevan commentedI can't reproduce this bug. Please retest with drupal 6 dev and provide more detailed instructions to reproduce
Comment #5
Bevan CreditAttribution: Bevan commentedComment #6
Dave Reidksort maintains key => value associations so I don't see a bug here.