diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-04-06 15:30:50 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-04-06 15:30:50 +0100 |
| commit | 46bb661f32cdac2ea7c60006b34b13e316578b11 (patch) | |
| tree | 281843dc837d5db82924b483e50801301ea3bc9c /app/Stats.php | |
| parent | 1078dbbf72af925582cdf090b0bfe8d99acd669d (diff) | |
| download | webtrees-46bb661f32cdac2ea7c60006b34b13e316578b11.tar.gz webtrees-46bb661f32cdac2ea7c60006b34b13e316578b11.tar.bz2 webtrees-46bb661f32cdac2ea7c60006b34b13e316578b11.zip | |
Convert messaging to use http/controllers/views
Diffstat (limited to 'app/Stats.php')
| -rw-r--r-- | app/Stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Stats.php b/app/Stats.php index c51dc02562..87c40a54fa 100644 --- a/app/Stats.php +++ b/app/Stats.php @@ -5894,7 +5894,7 @@ class Stats { if ($type == 'list') { $content .= '<br>'; } - $content .= FontAwesome::linkIcon('email', I18N::translate('Send a message'), ['class' => 'btn btn-link', 'href' => 'message.php?to=' . rawurlencode($user->getUserName())]); + $content .= FontAwesome::linkIcon('email', I18N::translate('Send a message'), ['class' => 'btn btn-link', 'href' => route('message', ['to' => $user->getUserName(), 'ged' => $this->tree->getName()])]); } if ($type == 'list') { $content .= '</li>'; |
