From 00bbebe4d32657716b14574f1c7ba5df1912d2a4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 20 Jun 2011 18:48:20 +0000 Subject: [PATCH] Fix: add free input --- htdocs/core/class/html.formmail.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 1b310d4147c..85f49aabe8c 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -354,6 +354,10 @@ class FormMail $out.= $this->toname; } $out.= ' <'.$this->tomail.'>'; + if ($this->withtofree) + { + $out.= '
'.$langs->trans("or").' withto) :"").'" />'; + } } else {