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.

Comments

damiankloip’s picture

Status: Active » Needs review

Seems to do the trick for me.

becw’s picture

Status: Needs review » Fixed

Committed in 90579d.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.