Parcourir la source

Fixed bug in new contact autocomplete

Stephen Ficklin il y a 9 ans
Parent
commit
f1aa5b6441
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tripal_contact/api/tripal_contact.api.inc

+ 1 - 1
tripal_contact/api/tripal_contact.api.inc

@@ -138,7 +138,7 @@ function tripal_autocomplete_contact($text) {
     if ($contact->name == 'null') {
     if ($contact->name == 'null') {
       continue;
       continue;
     }
     }
-    $items[$contact->contact_id] = $contact->name;
+    $items[$contact->name] = $contact->name;
   }
   }
   drupal_json_output($items);
   drupal_json_output($items);
 }
 }