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.
Noticed this when using user_relationships_load from a custom module, but as coded, if you pass in any value for include_user_info in the options array, this function will treat it as true because it is only checking for isset, not a TRUE/FALSE.
Rolled the following patch to actually check the value if it is used.
Comment | File | Size | Author |
---|---|---|---|
#1 | user_relationships-fix_default_user_relationship_load_behavior-2165239.patch | 511 bytes | craigmc |
Comments
Comment #1
craigmc CreditAttribution: craigmc commented