diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-04-18 21:54:46 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-04-18 21:54:46 +0000 |
| commit | fe7cda0b409e31b7055889ee6a1acef6eafc9947 (patch) | |
| tree | b5c7b93c8c8821c4c09bb45644fa6a1ccc3d799f /includes/functions | |
| parent | c48724f5c4e0b2051d751a0b54a160deac93de56 (diff) | |
| download | webtrees-fe7cda0b409e31b7055889ee6a1acef6eafc9947.tar.gz webtrees-fe7cda0b409e31b7055889ee6a1acef6eafc9947.tar.bz2 webtrees-fe7cda0b409e31b7055889ee6a1acef6eafc9947.zip | |
Fix: famlist showing all families instead of initial letters
Diffstat (limited to 'includes/functions')
| -rw-r--r-- | includes/functions/functions_db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_db.php b/includes/functions/functions_db.php index 62b31f6f37..3a16557486 100644 --- a/includes/functions/functions_db.php +++ b/includes/functions/functions_db.php @@ -389,7 +389,7 @@ function get_famlist_surns($surn, $salpha, $marnm, $ged_id) { $where[]="n_surn = ''"; } elseif ($salpha) { // Match a surname initial - $where[]="n_surn LIKE ".WT_DB::quote("{$surn}%")." COLLATE '".i18n::$collation."'"; + $where[]="n_surn LIKE ".WT_DB::quote("{$salpha}%")." COLLATE '".i18n::$collation."'"; } else { // Match all individuals $where[]="n_surn <> '@N.N.'"; |
