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.
On admin/people* pages, there is a htmlspecialchars warning being caused by this module. The fix is actually pretty simple and I have attached a patch. For reference, the full warning message is:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1500 of [full path removed]/drupal-7.x/includes/bootstrap.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | role-delegation-drupal-placeholder-fix-2.patch | 684 bytes | Andrew Schulman |
role-delegation-drupal-placeholder-fix.patch | 681 bytes | spam38 | |
Comments
Comment #1
David Lesieur CreditAttribution: David Lesieur commentedIt looks like you have accidentally removed the t().
Comment #2
Andrew Schulman CreditAttribution: Andrew Schulman commentedSubscribing
Comment #3
Andrew Schulman CreditAttribution: Andrew Schulman commentedHere's the revised patch. It fixes the htmlspecialchars problem and includes t().
Comment #4
Andrew Schulman CreditAttribution: Andrew Schulman commentedI've tested this, it works.
Comment #5
Andrew Schulman CreditAttribution: Andrew Schulman commentedPatch committed in -dev. Thanks for the report and patch, spam38.
There will be a 7.x release in the next few days I believe, and this will be incorporated into it.