Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The theme function theme_image_attach_block_attached gets an empty nid parameter in hook_block.
Comment | File | Size | Author |
---|---|---|---|
#1 | image-theme_attached_images_block-888578-1.patch | 666 bytes | Agileware |
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedHere is a patch that fixes the problem.
It could also be done a different way by passing the whole node instead of the nid.
Comment #2
Agileware CreditAttribution: Agileware commentedComment #3
joachim CreditAttribution: joachim commentedGood catch!
Thanks for the patch. Committed.
#888578 by Agileware: Fixed block passing empty param to theme function.