diff --git a/entityreference.module b/entityreference.module index 584ade35..04ce0a61 100644 --- a/entityreference.module +++ b/entityreference.module @@ -804,8 +804,8 @@ function entityreference_field_widget_settings_form($field, $instance) { ); $form['hide_ids'] = array( '#type' => 'checkbox', - '#title' => t('Hide ids'), - '#description' => t('If your target entities have unique labels you may choose not to have the ids shown to the user. Note that this setting will make it impossible to reference entities with non-unique labels!'), + '#title' => t('Hide IDs'), + '#description' => t('If your target entities have unique labels you may choose not to have the IDs shown to the user. Note that this setting will make it impossible to reference entities with non-unique labels!'), '#default_value' => $settings['hide_ids'], ); } @@ -1131,7 +1131,7 @@ function entityreference_autocomplete_callback_get_matches($type, $field, $insta if (strpos($key, ',') !== FALSE || strpos($key, '"') !== FALSE) { $key = '"' . str_replace('"', '""', $key) . '"'; } - $matches[$prefix . $key] = '