Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
This commit is contained in:
commit
b01e1e7724
@ -627,7 +627,7 @@ class FormMail extends Form
|
|||||||
$out.= ' <'.$this->tomail.'>';
|
$out.= ' <'.$this->tomail.'>';
|
||||||
if ($this->withtofree)
|
if ($this->withtofree)
|
||||||
{
|
{
|
||||||
$out.= '<br>'.$langs->trans("and").' <input class="minwidth200" id="sendto" name="sendto" value="'.(! is_array($this->withto) && ! is_numeric($this->withto)? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) :"").'" />';
|
$out.= '<br>'.$langs->trans("and").' <input class="minwidth200" id="sendto" name="sendto" value="'.((! is_array($this->withto) && ! is_numeric($this->withto)) ? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) : "").'" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -640,7 +640,7 @@ class FormMail extends Form
|
|||||||
{
|
{
|
||||||
if (! empty($this->withtofree))
|
if (! empty($this->withtofree))
|
||||||
{
|
{
|
||||||
$out.= '<input class="minwidth200" id="sendto" name="sendto" value="'.(! is_array($this->withto) && ! is_numeric($this->withto)? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) :"").'" />';
|
$out.= '<input class="minwidth200" id="sendto" name="sendto" value="'.((! is_array($this->withto) && ! is_numeric($this->withto)) ? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) : "").'" />';
|
||||||
}
|
}
|
||||||
if (! empty($this->withto) && is_array($this->withto))
|
if (! empty($this->withto) && is_array($this->withto))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user