소스 검색

Fixed bug in new contact autocomplete

Stephen Ficklin 9 년 전
부모
커밋
f1aa5b6441
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 }