PHRAS-3522 fix uninterpreted html in notification

This commit is contained in:
aynsix
2021-09-09 14:23:56 +03:00
parent 1fa06df13c
commit 90ef036c05
12 changed files with 15 additions and 15 deletions

View File

@@ -56,11 +56,11 @@ class eventsmanager_notify_validate extends eventsmanager_notifyAbstract
$bask_link = '<a href="'
. $this->app->url('lightbox_validation', ['basket' => $ssel_id])
. '" target="_blank">'
. $basket_name . '</a>';
. htmlentities($basket_name) . '</a>';
$ret = [
'text' => $this->app->trans('%user% vous demande de valider %title%', [
'%user%' => $sender,
'%user%' => htmlentities($sender),
'%title%' => $bask_link,
])
, 'class' => ($unread == 1 ? 'reload_baskets' : '')