Merge pull request #8199 from nupplaphil/bug/8197_intro_notif_stuck

Fix Contact addRelationship() notification link
This commit is contained in:
Hypolite Petovan 2020-01-29 19:30:58 -05:00 committed by GitHub
commit 2c2b649015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2638,7 +2638,7 @@ class Contact
'to_name' => $user['username'],
'to_email' => $user['email'],
'uid' => $user['uid'],
'link' => DI::baseUrl() . '/notifications/intro',
'link' => DI::baseUrl() . '/notifications/intros',
'source_name' => ((strlen(stripslashes($contact_record['name']))) ? stripslashes($contact_record['name']) : DI::l10n()->t('[Name Withheld]')),
'source_link' => $contact_record['url'],
'source_photo' => $contact_record['photo'],