Closed (fixed)
Project:
Text list formatter
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2010 at 18:33 UTC
Updated:
27 Oct 2011 at 01:30 UTC
The ordered/unordered list formatters return an empty .item-list div (and all the .fields-foo divs that come along for the ride in CCK) when no data is present because theme_item_list() is being sent an empty array. This is easily fixed by checking for !(empty($values)).
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| textformatter-fix-empty-item-lists.patch | 1.11 KB | todd nienkerk |
Comments
Comment #1
damiankloip commentedSeems to do the trick for me.
Comment #2
becw commentedCommitted in 90579d.