Closed (fixed)
Project:
Image Class
Version:
7.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2013 at 10:13 UTC
Updated:
17 May 2013 at 11:50 UTC
If class was once set and gets cleared it creates an emtpy class="".
Change...
// Return if 'class' setting is not available.
if (!isset($settings['class'])) {
return;
}
to...
// Return if 'class' setting is not available.
if (!isset($settings['class']) || empty($settings['class'])) {
return;
}
Comments
Comment #1
yannickooThank you for reporting this issue, fixed with 6c13339 :)