Update xinputfile.modules.php

This commit is contained in:
Laurent Destailleur 2019-02-28 11:24:43 +01:00 committed by GitHub
parent 85d46a5270
commit cefaeb583f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ class mailing_xinputfile extends MailingTargets
{
$i++;
$langs->load("errors");
$msg = $langs->trans("ErrorFoundBadEmailInFile",$i,$cpt,$email);
$msg = $langs->trans("ErrorFoundBadEmailInFile", $i, $cpt, $email);
if (!empty($msg)) $this->error = $msg;
else $this->error = 'ErrorFoundBadEmailInFile '.$i.' '.$cpt.' '.$email; // We experience case where $langs->trans return an empty string.
}