Explorar o código

Fixed bug in new contact autocomplete

Stephen Ficklin %!s(int64=10) %!d(string=hai) anos
pai
achega
f1aa5b6441
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') {
       continue;
     }
-    $items[$contact->contact_id] = $contact->name;
+    $items[$contact->name] = $contact->name;
   }
   drupal_json_output($items);
 }