Index: filefield_formatter.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield_formatter.inc,v retrieving revision 1.13 diff -u -r1.13 filefield_formatter.inc --- filefield_formatter.inc 9 Apr 2009 16:12:49 -0000 1.13 +++ filefield_formatter.inc 28 Apr 2009 04:05:12 -0000 @@ -92,7 +92,7 @@ * A CCK field instance array. */ function filefield_file_listed($file, $field) { - if ($field['list_field']) { + if (!empty($field['list_field'])) { return (bool)$file['list']; } return TRUE; Index: filefield_widget.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield_widget.inc,v retrieving revision 1.86 diff -u -r1.86 filefield_widget.inc --- filefield_widget.inc 20 Apr 2009 22:51:44 -0000 1.86 +++ filefield_widget.inc 28 Apr 2009 04:05:12 -0000 @@ -218,7 +218,7 @@ // Checkboxes loose their value when empty. // If the list field is present make sure its unchecked value is saved. - if ($field['list_field'] && empty($edit['list'])) { + if (!empty($field['list_field']) && empty($edit['list'])) { $item['list'] = 0; } } @@ -353,7 +353,7 @@ '#access' => !empty($item['fid']), ); - if ($field['description_field']) { + if (!empty($field['description_field'])) { $element['data']['description'] = array( '#type' => 'textfield', '#title' => t('Description'), @@ -363,7 +363,7 @@ ); } - if ($field['list_field']) { + if (!empty($field['list_field'])) { $element['list'] = array( '#type' => empty($item['fid']) ? 'hidden' : 'checkbox', '#title' => t('List'),