forked from Wavyzz/dolibarr
Fix html entities when we should not
This commit is contained in:
@@ -2340,7 +2340,7 @@ class ActionComm extends CommonObject
|
|||||||
$sendContent = make_substitutions($langs->trans($arraymessage->content), $substitutionarray);
|
$sendContent = make_substitutions($langs->trans($arraymessage->content), $substitutionarray);
|
||||||
|
|
||||||
//Topic
|
//Topic
|
||||||
$sendTopic = (!empty($arraymessage->topic)) ? $arraymessage->topic : html_entity_decode($langs->trans('EventReminder'));
|
$sendTopic = (!empty($arraymessage->topic)) ? $arraymessage->topic : html_entity_decode($langs->transnoentities('EventReminder'));
|
||||||
|
|
||||||
// Recipient
|
// Recipient
|
||||||
$recipient = new User($this->db);
|
$recipient = new User($this->db);
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ function check_events() {
|
|||||||
if (value.type == 'agenda')
|
if (value.type == 'agenda')
|
||||||
{
|
{
|
||||||
url = '<?php print DOL_URL_ROOT.'/comm/action/card.php?id='; ?>' + value.id_agenda;
|
url = '<?php print DOL_URL_ROOT.'/comm/action/card.php?id='; ?>' + value.id_agenda;
|
||||||
title = '<?php print dol_escape_js($langs->trans('EventReminder')) ?>';
|
title = '<?php print dol_escape_js($langs->transnoentities('EventReminder')) ?>';
|
||||||
}
|
}
|
||||||
var extra = {
|
var extra = {
|
||||||
icon: '<?php print DOL_URL_ROOT.'/theme/common/bell.png'; ?>',
|
icon: '<?php print DOL_URL_ROOT.'/theme/common/bell.png'; ?>',
|
||||||
|
|||||||
Reference in New Issue
Block a user