--- realname_content_profile.inc.orig   2009-11-06 14:56:55.000000000 +1000
+++ realname_content_profile.inc        2009-11-06 15:04:36.000000000 +1000
@@ -58,23 +58,21 @@ function realname_content_profile_get_fi
       if ($field_attributes['type_name'] != $type) {
         continue;
       }
-      switch ($field_attributes['type']) {
-        case 'text':
-          if ($field_attributes['multiple']) {
-            drupal_set_message(t('The RealName module does not currently support fields with multiple values, such as @fld.', array('@fld' => $field_name)), 'warning');
-          }
-          else {
-            $selected = array_key_exists($field_name, $current);
-            $fields[$field_name] = array(
-              'title' => $field_attributes['widget']['label'],
-              'weight' => $selected ? $current[$field_name] : 0,
-              'selected' => $selected,
-              );
-          }
-          break;
-
-        case 'link':
-          $links[$field_name] = $field_attributes['widget']['label'];
+      if ($field_attributes['type'] == 'link') {
+        $links[$field_name] = $field_attributes['widget']['label'];
+      }
+      if ($field_attributes['type'] == 'text' || !empty($field_attributes['realname_capable'])) {
+        if ($field_attributes['multiple']) {
+          drupal_set_message(t('The RealName module does not currently support fields with multiple values, such as @fld.', array('@fld' => $field_name)), 'warning');
+        }
+        else {
+          $selected = array_key_exists($field_name, $current);
+          $fields[$field_name] = array(
+            'title' => $field_attributes['widget']['label'],
+            'weight' => $selected ? $current[$field_name] : 0,
+            'selected' => $selected,
+            );
+        }
       }
     }
   }
