Index: includes/features.content.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/features/includes/features.content.inc,v
retrieving revision 1.1.2.19
diff -u -p -r1.1.2.19 features.content.inc
--- includes/features.content.inc	4 Aug 2010 22:39:55 -0000	1.1.2.19
+++ includes/features.content.inc	9 Feb 2011 22:39:17 -0000
@@ -61,7 +61,7 @@ function content_features_export($data, 
       $field_name = $split[1];
       $field = content_fields($field_name, $type_name);
 
-      if ($field) {
+      if (!empty($field)) {
         // Add field item instance for later export.
         $export['features']['content'][$instance] = $instance;
 
@@ -155,10 +155,10 @@ function content_features_rebuild($modul
       $param = array('field_name' => $field['field_name'], 'type_name' => $field['type_name']);
       $existing_instance = content_field_instance_read($param, TRUE);
 
-      if ($existing_instance) {
+      if (!empty($existing_instance)) {
         // If this existing instance is inactive, we need to activate it before
         // running content_field_instance_update().
-        if (!$existing_instance['widget_active']) {
+        if (empty($existing_instance['widget_active'])) {
           db_query("UPDATE {". content_instance_tablename() ."} SET widget_active = 1 WHERE field_name = '%s' AND type_name = '%s'", $field['field_name'], $field['type_name']);
           // We need to clear the type cache again, unfortunately.
           content_clear_type_cache(TRUE);
