diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php
index 31ccd1f02c8..fee54b6ce75 100644
--- a/htdocs/admin/mails_templates.php
+++ b/htdocs/admin/mails_templates.php
@@ -160,19 +160,15 @@ if (empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) {
$tabhelp = array();
$tabhelp[25] = array(
- 'topic'=>$helpsubstit,
+ 'topic'=>''.$helpsubstit.'',
'joinfiles'=>$langs->trans('AttachMainDocByDefault'),
- 'content'=>$helpsubstit,
- 'content_lines'=>$helpsubstitforlines,
+ 'content'=>''.$helpsubstit.'',
+ 'content_lines'=>''.$helpsubstitforlines.'',
'type_template'=>$langs->trans("TemplateForElement"),
'private'=>$langs->trans("TemplateIsVisibleByOwnerOnly"),
'position'=>$langs->trans("PositionIntoComboList")
);
-// List of check for fields (NOT USED YET)
-$tabfieldcheck = array();
-$tabfieldcheck[25] = array();
-
$elementList = array();