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.