I know it is not critical, when there is no node to be shown in the headerimage block, the $block variable is returned without being set.
The attached patch makes this a bit cleaner.
It also cleans up some indentation in the same function.

CommentFileSizeAuthor
headerimage_empty_nid.patch981 bytesalduya

Comments

sutharsan’s picture

Status: Needs review » Fixed

Thanks.

Status: Fixed » Closed (fixed)

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