I've just enabled the domain navigator block, and it render's a nasty <h3><none></h3> in the block header...
Removing line 107 ($block['subject'] = '<none>';) in domain_nav.module seems to fix it.

CommentFileSizeAuthor
#1 dn277202.patch491 bytesbforchhammer

Comments

bforchhammer’s picture

StatusFileSize
new491 bytes
agentrickard’s picture

This must be a change from D5 to D6. In D5, the <none> placeholder was used to indicate that no title should be used.

$block['subject'] should probably be an empty string instead.

Thanks. No need to roll a new patch.

agentrickard’s picture

That is odd, because block_list() in both D5 and D6 should strip that out. Any idea as to why it is not?

http://api.drupal.org/api/function/block_list

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community

It seems that the <none> syntax only works if entered by the user, not coded into the module.

Silly error that needs fixing in D5 and D6.

agentrickard’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD and 5-dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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