FIX : if empty error message, we just see "error" displayed
This commit is contained in:
parent
86e2ffe323
commit
49e03b009f
@ -179,7 +179,8 @@ class mailing_xinputfile extends MailingTargets
|
||||
{
|
||||
$i++;
|
||||
$langs->load("errors");
|
||||
$this->error = $langs->trans("ErrorFoundBadEmailInFile",$i,$cpt,$email);
|
||||
$msg = $langs->trans("ErrorFoundBadEmailInFile",$i,$cpt,$email);
|
||||
if(!empty($msg)) $this->error = $msg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user