Closed (fixed)
Project:
Block Icons
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2011 at 10:32 UTC
Updated:
22 Jul 2011 at 06:40 UTC
Jump to comment: Most recent
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
Comment #1
Anonymous (not verified) commentedNice, thanks! Committed: http://drupalcode.org/project/block_icons.git/commit/42457d8