Currently displaying cck field label and dot, no matter if there is any value in cck field or not.

CommentFileSizeAuthor
#4 textformatter_499064_4.patch623 bytesscottrigby

Comments

eabrand’s picture

Fixed! Thanks for reporting the bug! Please update to the newest version.

eabrand’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

scottrigby’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new623 bytes

This is still happening in 6.x-1.0, because of return $phrase."."; on line 142. The period is returned even if there are no values in the array.

Also, if the label is set to display (in Display fields settings), then the '.' registers as a value and sets the field to active (displaying the label as well).

Attaching a patch that checks count($values) before adding the period :)

eabrand’s picture

Status: Needs review » Fixed

committed thanks!!

Status: Fixed » Closed (fixed)

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