summaryrefslogtreecommitdiff
path: root/app/Stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Stats.php')
-rw-r--r--app/Stats.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Stats.php b/app/Stats.php
index 42c3232660..2e03a02bea 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -183,7 +183,7 @@ class Stats
*/
public function gedcomFilename(): string
{
- return $this->tree->getName();
+ return $this->tree->name();
}
/**
@@ -6110,7 +6110,7 @@ class Stats
if ($type == 'list') {
$content .= '<br>';
}
- $content .= '<a href="' . e(route('message', ['to' => $user->getUserName(), 'ged' => $this->tree->getName()])) . '" class="btn btn-link" title="' . I18N::translate('Send a message') . '">' . view('icons/email') . '</a>';
+ $content .= '<a href="' . e(route('message', ['to' => $user->getUserName(), 'ged' => $this->tree->name()])) . '" class="btn btn-link" title="' . I18N::translate('Send a message') . '">' . view('icons/email') . '</a>';
}
if ($type == 'list') {
$content .= '</li>';