summaryrefslogtreecommitdiff
path: root/app/Stats.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-27 22:58:40 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-27 23:17:30 +0000
commit392561bb99af217275768e5e324d4700af01ce3e (patch)
treec5b27fb099155c3be24d6c50edefd26a0f60dadf /app/Stats.php
parentead61980531901585812230435477067158ac121 (diff)
downloadwebtrees-392561bb99af217275768e5e324d4700af01ce3e.tar.gz
webtrees-392561bb99af217275768e5e324d4700af01ce3e.tar.bz2
webtrees-392561bb99af217275768e5e324d4700af01ce3e.zip
Refactor class Place
Diffstat (limited to 'app/Stats.php')
-rw-r--r--app/Stats.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Stats.php b/app/Stats.php
index aa986a3fe7..4066aa5c99 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -1877,7 +1877,7 @@ class Stats
arsort($places);
foreach ($places as $place => $count) {
$tmp = new Place($place, $this->tree);
- $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->getFullName() . '</a>';
+ $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->fullName() . '</a>';
$top10[] = '<li>' . $place . ' - ' . I18N::number($count) . '</li>';
if ($i++ == 10) {
break;
@@ -1901,7 +1901,7 @@ class Stats
arsort($places);
foreach ($places as $place => $count) {
$tmp = new Place($place, $this->tree);
- $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->getFullName() . '</a>';
+ $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->fullName() . '</a>';
$top10[] = '<li>' . $place . ' - ' . I18N::number($count) . '</li>';
if ($i++ == 10) {
break;
@@ -1925,7 +1925,7 @@ class Stats
arsort($places);
foreach ($places as $place => $count) {
$tmp = new Place($place, $this->tree);
- $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->getFullName() . '</a>';
+ $place = '<a href="' . e($tmp->url()) . '" class="list_item">' . $tmp->fullName() . '</a>';
$top10[] = '<li>' . $place . ' - ' . I18N::number($count) . '</li>';
if ($i++ == 10) {
break;