Currently displaying cck field label and dot, no matter if there is any value in cck field or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | textformatter_499064_4.patch | 623 bytes | scottrigby |
Currently displaying cck field label and dot, no matter if there is any value in cck field or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | textformatter_499064_4.patch | 623 bytes | scottrigby |
Comments
Comment #1
eabrand commentedFixed! Thanks for reporting the bug! Please update to the newest version.
Comment #2
eabrand commentedComment #4
scottrigbyThis 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 :)Comment #5
eabrand commentedcommitted thanks!!