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.
I get this warning when viewing any group. I've enabled three blocks... content links, OG extra members, and group details.
Strict warning: Only variables should be passed by reference in og_extras_subscribe() (line 52 of ~/sites/all/modules/og_extras/og_extras.module).
I'm using the current dev version of og and entityreference on drupal 7.14.
Comment | File | Size | Author |
---|---|---|---|
#1 | og_extras-1605386.patch | 712 bytes | Les Lim |
Comments
Comment #1
Les LimNo reason to expect this to be a security issue. Rather, you can't put a function wherever a variable reference is expected instead, as is the case with drupal_render().
Fix attached.
Comment #2
David Lesieur CreditAttribution: David Lesieur commentedWorks for me, and code looks good.
Comment #3
eojthebraveCommitted. Thanks!
http://drupal.org/commitlog/commit/38132/15409a4d5837bf6b5b4250417a962f3...
Comment #4.0
(not verified) CreditAttribution: commentedupdate info