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.
I think this was introduced in #228061: Usability UMN: Allow roles to be weighted and should be a simple fix. On many pages in Drupal you get a PHP notice about that variable not being defined. We just need to initialize it to an empty array.
Comment | File | Size | Author |
---|---|---|---|
#1 | user-roles-php-notice-755870-1.patch | 615 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedComment #2
vordude CreditAttribution: vordude commented+1 on the patch.
HEAD was giving me the same notice. Applied the straightforward patch with success.
Comment #3
vordude CreditAttribution: vordude commentedI don't know what the protocol is for this, but seems simple enough...
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD.