The theme function theme_image_attach_block_attached gets an empty nid parameter in hook_block.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Agileware’s picture

Here is a patch that fixes the problem.

It could also be done a different way by passing the whole node instead of the nid.

Agileware’s picture

Status: Active » Needs review
joachim’s picture

Status: Needs review » Fixed

Good catch!

Thanks for the patch. Committed.

#888578 by Agileware: Fixed block passing empty param to theme function.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.