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!

CommentFileSizeAuthor
#1 config_perms-php-notice-2307543-1.patch590 bytesdsnopek
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dsnopek’s picture

Attached is a patch to fix! Please let me know what you think.

mlncn’s picture

Not using Features, but i'm going to trust you on this one!

Applied in commit 3d31195 with credit to dsnopek.

Thanks!

mlncn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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