Fix: add free input

This commit is contained in:
Regis Houssin 2011-06-20 18:48:20 +00:00
parent 8ccbe4c7dd
commit 00bbebe4d3

View File

@ -354,6 +354,10 @@ class FormMail
$out.= $this->toname;
}
$out.= ' <'.$this->tomail.'>';
if ($this->withtofree)
{
$out.= '<br />'.$langs->trans("or").' <input size="'.(is_array($this->withto)?"30":"60").'" id="sendto" name="sendto" value="'.(! is_array($this->withto) && ! is_numeric($this->withto)? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) :"").'" />';
}
}
else
{