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.
The config_perms_perms() is being called in various places within the module. The caller always assumes that this function will return an array, as its return value is being used in foreach-loops.
The function should return an empty array if there are no perms to return, instead of NULL.
Comments
Comment #1
olofbokedal CreditAttribution: olofbokedal commentedLol, forgot that this already has been fixed in #2177151: Invalid data structure when retrieving config from the cache, by me...
Move along.