I had a view with a field that does only contain values for a subset of nodes. It is rendered with a label. However, I wanted the label to disappear if the content is empty. This worked fine on my dev installation, but did not work on stage. The view settings were identical ("hide if empty" on field-level, ticking "hide empty fields" in the view options did not change anything). I found that this issue was neither related to the view nor to the data - everything was identical on dev and stage. However, on stage theme_debug was turned on. This caused the value of the field to contain HTML for theme hints, which in in turn switched on the label of the field inadvertently.
Dieser Eintrag wurde eingetragen von und ist abgelegt unter Arbeit.