diff options
Diffstat (limited to 'autocomplete.php')
| -rw-r--r-- | autocomplete.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/autocomplete.php b/autocomplete.php index 1830036e76..e46d333a53 100644 --- a/autocomplete.php +++ b/autocomplete.php @@ -126,7 +126,7 @@ case 'FAM': // Families, whose name contains the search terms return; case 'GIVN': // Given names, that start with the search term - // Do not filter by privacy. Given names on their own do not identify individuals. + // Do not filter by privacy. Given names on their own do not identify individuals. echo json_encode( Database::prepare( "SELECT SQL_CACHE DISTINCT n_givn" . @@ -199,13 +199,13 @@ case 'OBJE': return; case 'PLAC': // Place names (with hierarchy), that include the search term - // Do not filter by privacy. Place names on their own do not identify individuals. + // Do not filter by privacy. Place names on their own do not identify individuals. $data = array(); foreach (Place::findPlaces($term, $WT_TREE) as $place) { $data[] = $place->getGedcomName(); } if (!$data && $WT_TREE->getPreference('GEONAMES_ACCOUNT')) { - // No place found? Use an external gazetteer + // No place found? Use an external gazetteer $url = "http://api.geonames.org/searchJSON" . "?name_startsWith=" . urlencode($term) . @@ -237,7 +237,7 @@ case 'PLAC': // Place names (with hierarchy), that include the search term return; case 'PLAC2': // Place names (without hierarchy), that include the search term - // Do not filter by privacy. Place names on their own do not identify individuals. + // Do not filter by privacy. Place names on their own do not identify individuals. echo json_encode( Database::prepare( "SELECT SQL_CACHE p_place" . @@ -378,7 +378,7 @@ case 'SOUR_TITL': // Source titles, that include the search terms return; case 'SURN': // Surnames, that start with the search term - // Do not filter by privacy. Surnames on their own do not identify individuals. + // Do not filter by privacy. Surnames on their own do not identify individuals. echo json_encode( Database::prepare( "SELECT SQL_CACHE DISTINCT n_surname" . |
