diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-02-05 23:25:37 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-02-05 23:25:37 +0000 |
| commit | 6e920cfaec23331fe8e10334ae87d7967fd825b4 (patch) | |
| tree | 1902132860dfda66a8ad372ea930bfa66e42debc /app/Services/UserService.php | |
| parent | be09d1eb504c0eb69624bb77e260822bf5d0cc8b (diff) | |
| download | webtrees-6e920cfaec23331fe8e10334ae87d7967fd825b4.tar.gz webtrees-6e920cfaec23331fe8e10334ae87d7967fd825b4.tar.bz2 webtrees-6e920cfaec23331fe8e10334ae87d7967fd825b4.zip | |
Fix: #2187 - broken contact link in footer
Diffstat (limited to 'app/Services/UserService.php')
| -rw-r--r-- | app/Services/UserService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/UserService.php b/app/Services/UserService.php index 499bd7fcfe..3faa7f775a 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -332,7 +332,7 @@ class UserService $url = 'mailto:' . $contact_user->email(); } elseif ($user instanceof User) { // Logged-in users send direct messages - $url = route('message'); + $url = route('message', ['to' => $user->userName()]); } else { // Visitors use the contact form. $url = route('contact', [ |
