diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index 902a112a91f..78e5d7e0e9e 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -576,6 +576,7 @@ class FormMail extends Form
$helpforsubstitution .= '';
}
+ /*
if (!empty($this->withsubstit)) { // Unset or set ->withsubstit=0 to disable this.
$out .= '
| ';
if (is_numeric($this->withsubstit)) {
@@ -584,7 +585,7 @@ class FormMail extends Form
$out .= $form->textwithpicto($langs->trans('AvailableVariables'), $helpforsubstitution, 1, 'help', '', 0, 2, 'substittooltip'); // New usage
}
$out .= " |
\n";
- }
+ }*/
// From
if (!empty($this->withfrom)) {
@@ -813,7 +814,7 @@ class FormMail extends Form
// Attached files
if (!empty($this->withfile)) {
$out .= '';
- $out .= '| '.$langs->trans("MailFile").' | ';
+ $out .= ''.$langs->trans("MailFile").' | ';
$out .= '';
@@ -863,12 +864,12 @@ class FormMail extends Form
$out .= '';
}
|