Skip to content

Commit

Permalink
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 8, 2020
2 parents 387db16 + 14531bf commit 4b6276f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/html.formmail.class.php
Expand Up @@ -628,7 +628,7 @@ function get_form($addfileaction='addfile', $removefileaction='removefile')
$out.= ' <'.$this->tomail.'>';
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
Expand All @@ -641,7 +641,7 @@ function get_form($addfileaction='addfile', $removefileaction='removefile')
{
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))
{
Expand Down

0 comments on commit 4b6276f

Please sign in to comment.