Commit 597c8d0d authored by merlinofchaos's avatar merlinofchaos

#135881: Broken test for visible caused all list fields to disappear.

parent f7282390
......@@ -2,6 +2,10 @@ CHANGELOG for Views for Drupal 5
(Note: Order has been reversed to newest first which is more common.)
View 5.x-dev
Bugs fixed:
o #135881: Broken test for 'visible' caused all list fields to disappear.
Views 5.x-1.6-beta
Highlights:
o #119742: Improved handling of DISTINCT; allow DISTINCT to not kill summaries.
......
......@@ -1342,7 +1342,7 @@ function theme_views_view_list($view, $nodes, $type) {
foreach ($nodes as $node) {
$item = '';
foreach ($view->field as $field) {
if (isset($fields[$field['id']]['visible']) && $fields[$field['id']]['visible'] !== FALSE) {
if (!isset($fields[$field['id']]['visible']) && $fields[$field['id']]['visible'] !== FALSE) {
if ($field['label']) {
$item .= "<div class='view-label ". views_css_safe('view-label-'. $field['queryname']) ."'>" . $field['label'] . "</div>";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment