Fix use of sender profiles
This commit is contained in:
parent
37272b264c
commit
0d0030cff4
@ -426,7 +426,8 @@ class FormMail extends Form
|
||||
if (! ($this->fromtype === 'user' && $this->fromid > 0)
|
||||
&& ! ($this->fromtype === 'company')
|
||||
&& ! preg_match('/user_aliases/', $this->fromtype)
|
||||
&& ! preg_match('/global_aliases/', $this->fromtype))
|
||||
&& ! preg_match('/global_aliases/', $this->fromtype)
|
||||
&& ! preg_match('/senderprofile/', $this->fromtype))
|
||||
{
|
||||
// Use this->fromname and this->frommail or error if not defined
|
||||
$out.= $this->fromname;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user