diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-08-15 22:02:19 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-08-16 12:34:20 +0100 |
| commit | bab1fcd52a5dcc2c5a81b5456e63d45b0656a46a (patch) | |
| tree | 7c9e1e82d150a308f8bb292effad0031bae2bd36 /app/Stats.php | |
| parent | 5fcf23531532cb11b547748674d5b0455da44ad4 (diff) | |
| download | webtrees-bab1fcd52a5dcc2c5a81b5456e63d45b0656a46a.tar.gz webtrees-bab1fcd52a5dcc2c5a81b5456e63d45b0656a46a.tar.bz2 webtrees-bab1fcd52a5dcc2c5a81b5456e63d45b0656a46a.zip | |
PhpDoc
Diffstat (limited to 'app/Stats.php')
| -rw-r--r-- | app/Stats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Stats.php b/app/Stats.php index 26011dd688..2e6c08900b 100644 --- a/app/Stats.php +++ b/app/Stats.php @@ -1796,7 +1796,7 @@ class Stats $chart_title = I18N::translate('Surname distribution chart') . ': ' . $surname; // Count how many people are events in each country $surn_countries = []; - $indis = QueryName::individuals($this->tree, I18N::strtoupper($surname), '', '', false, false); + $indis = QueryName::individuals($this->tree, $surname, '', '', false, false); foreach ($indis as $person) { if (preg_match_all('/^2 PLAC (?:.*, *)*(.*)/m', $person->getGedcom(), $matches)) { // webtrees uses 3 letter country codes and localised country names, but google uses 2 letter codes. @@ -5828,7 +5828,7 @@ class Stats $all_surnames = []; $tot = 0; foreach ($surnames as $surname => $num) { - $all_surnames = array_merge($all_surnames, QueryName::surnames($this->tree, I18N::strtoupper($surname), '', false, false)); + $all_surnames = array_merge($all_surnames, QueryName::surnames($this->tree, $surname, '', false, false)); $tot += $num; } $chd = ''; |
