A single statement at the beginning of the theme_block_icon() function gets rid of empty style specifications in the output (only applies to custom icon placement):

  if (empty($block_icon['path'])) {
    return null;
  }

Comments

Anonymous’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Priority: Normal » Minor
Status: Active » Closed (fixed)