diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-10-15 20:38:06 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-10-15 20:38:06 +0000 |
| commit | 0366b525190af997ec5f0a7e37f2d5a2e0ccf1a0 (patch) | |
| tree | 33663d63269d3331c27d492b1f2b66235320500c /autocomplete.php | |
| parent | 4f49f3ce9308c270f64bd181c4326b78cc96733f (diff) | |
| download | webtrees-0366b525190af997ec5f0a7e37f2d5a2e0ccf1a0.tar.gz webtrees-0366b525190af997ec5f0a7e37f2d5a2e0ccf1a0.tar.bz2 webtrees-0366b525190af997ec5f0a7e37f2d5a2e0ccf1a0.zip | |
Minor refactoring - move code relating to GEDCOM records into the GEDCOM objects
Diffstat (limited to 'autocomplete.php')
| -rw-r--r-- | autocomplete.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autocomplete.php b/autocomplete.php index 6efa01dd5e..7ad6be6f0d 100644 --- a/autocomplete.php +++ b/autocomplete.php @@ -587,7 +587,7 @@ function get_autocomplete_FAM($FILTER, $ids, $ged_id=WT_GED_ID) { $vars[]=$ged_id; return WT_DB::prepare( - "SELECT 'FAM' AS type, f_id AS xref, f_file AS ged_id, f_gedcom AS gedrec, f_husb, f_wife". + "SELECT 'FAM' AS type, f_id AS xref, f_file AS ged_id, f_gedcom AS gedrec". " FROM `##families`". " WHERE {$where} AND f_file=?". " LIMIT ".WT_AUTOCOMPLETE_LIMIT @@ -659,7 +659,7 @@ function get_autocomplete_INDI_SOUR_PAGE($FILTER, $OPTION, $ged_id=WT_GED_ID) { function get_autocomplete_FAM_SOUR_PAGE($FILTER, $OPTION, $ged_id=WT_GED_ID) { return WT_DB::prepare( - "SELECT 'FAM' AS type, f_id AS xref, f_file AS ged_id, f_gedcom AS gedrec, f_husb, f_wife". + "SELECT 'FAM' AS type, f_id AS xref, f_file AS ged_id, f_gedcom AS gedrec". " FROM `##families`". " WHERE f_gedcom LIKE ? AND f_file=?". " LIMIT ".WT_AUTOCOMPLETE_LIMIT |
