Fix variable per invio notifica nuovo intervento

This commit is contained in:
NicNal 2019-05-07 12:14:50 +02:00
parent d16e9df4b2
commit 1a57970ae4
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ function add_tecnico($idintervento, $idtecnico, $inizio, $fine, $idcontratto = n
if (!empty($tecnico['email'])) {
$n = new Notifications\EmailNotification();
$n->setTemplate('Notifica intervento', $id_record);
$n->setTemplate('Notifica intervento', $idintervento);
$n->setReceivers($tecnico['email']);
$n->send();