Fix #13046 - Bad parenthesis on test
This commit is contained in:
parent
bf4fca0c7e
commit
14531bf160
@ -593,7 +593,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
|
||||||
@ -606,7 +606,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