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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | dn277202.patch | 491 bytes | bforchhammer |
Comments
Comment #1
bforchhammer commentedComment #2
agentrickardThis 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.
Comment #3
agentrickardThat 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
Comment #4
agentrickardIt 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.
Comment #5
agentrickardCommitted to HEAD and 5-dev.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.