diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 89bf13da263..88b85f4cbef 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -825,26 +825,26 @@ class Notify case 'FICHINTER_ADD_CONTACT': $link = ''.$newref.''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInterventionAddedContact", $link); break; case 'FICHINTER_VALIDATE': $link = ''.$newref.''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInterventionValidated", $link); break; case 'FICHINTER_MODIFY': $link = ''.$newref.''; $context_info = array_key_exists('signature', $object->context) ? $object->getLibSignedStatus() : ''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInterventionModified", $link, $context_info); break; case 'FICHINTER_CLOSE': $link = ''.$newref.''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInterventionClosed", $link); break; case 'ORDER_SUPPLIER_VALIDATE': @@ -1150,26 +1150,26 @@ class Notify case 'FICHINTER_ADD_CONTACT': $link = ''.$newref.''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $langs->transnoentitiesnoconv("EMailTextInterventionAddedContact", $link); break; case 'FICHINTER_VALIDATE': $link = ''.$newref.''; $dir_output = $conf->facture->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $langs->transnoentitiesnoconv("EMailTextInterventionValidated", $link); break; case 'FICHINTER_MODIFY': $link = ''.$newref.''; $context_info = array_key_exists('signature', $object->context) ? $object->getLibSignedStatus() : ''; $dir_output = $conf->ficheinter->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $langs->transnoentitiesnoconv("EMailTextInterventionModified", $link, $context_info); break; case 'FICHINTER_CLOSE': $link = ''.$newref.''; $dir_output = $conf->facture->dir_output; - $object_type = 'ficheinter'; + $object_type = 'fichinter'; $mesg = $langs->transnoentitiesnoconv("EMailTextInterventionClosed", $link); break; case 'ORDER_SUPPLIER_CANCEL':