diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index 45c40a8bc72..6007dd1dbaa 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -669,15 +669,8 @@ class FormMail extends Form
}
else
{
- // The free input of email
- // if (!empty($this->withtofree))
- // {
- // $out .= 'withto) : "")).'" />';
- // }
- // The select combo
if (!empty($this->withto) && is_array($this->withto))
{
- //if (!empty($this->withtofree)) $out .= " ".$langs->trans("and")."/".$langs->trans("or")." ";
// multiselect array convert html entities into options tags, even if we dont want this, so we encode them a second time
$tmparray = $this->withto;
foreach ($tmparray as $key => $val)
@@ -744,10 +737,8 @@ class FormMail extends Form
}
else
{
- //$out .= 'withtocc) && !is_numeric($this->withtocc)) ? $this->withtocc : '')).'" />';
if (!empty($this->withtocc) && is_array($this->withtocc))
{
- //$out .= " ".$langs->trans("and")."/".$langs->trans("or")." ";
// multiselect array convert html entities into options tags, even if we dont want this, so we encode them a second time
$tmparray = $this->withtocc;
foreach ($tmparray as $key => $val)