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.
When including permissions in Features, this PHP notice will appear for each permission when visiting /admin/people/custom_permissions
.
Basically, the permissions from Features won't have a $pid member, so it should check if it's set before using it.
I'll attach a patch to fix in a moment!
Comment | File | Size | Author |
---|---|---|---|
#1 | config_perms-php-notice-2307543-1.patch | 590 bytes | dsnopek |
Comments
Comment #1
dsnopekAttached is a patch to fix! Please let me know what you think.
Comment #2
mlncn CreditAttribution: mlncn commentedNot using Features, but i'm going to trust you on this one!
Applied in commit 3d31195 with credit to dsnopek.
Thanks!
Comment #3
mlncn CreditAttribution: mlncn commented