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.
| Comment | File | Size | Author |
|---|---|---|---|
| headerimage_empty_nid.patch | 981 bytes | alduya |
Comments
Comment #1
sutharsan commentedThanks.