mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-28 12:04:23 +00:00
Fix part of #87 Use HTML tag for links in mails
This commit is contained in:
parent
28e94447eb
commit
7103cdebff
3 changed files with 6 additions and 5 deletions
|
|
@ -80,7 +80,8 @@ function sendUpdateNotification($poll, $mailService, $name, $type) {
|
|||
$message .= __('Mail', "wrote a comment.\nYou can find your poll at the link") . " :\n\n";
|
||||
break;
|
||||
}
|
||||
$message .= Utils::getUrlSondage($poll->admin_id, true) . "\n\n";
|
||||
$urlSondage = Utils::getUrlSondage($poll->admin_id, true);
|
||||
$message .= '<a href="' . $urlSondage . '">' . $urlSondage . '</a>' . "\n\n";
|
||||
|
||||
$messageTypeKey = $type . '-' . $poll->id;
|
||||
$mailService->send($poll->admin_mail, $subject, $message, $messageTypeKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue