mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Update xinputfile.modules.php
This commit is contained in:
committed by
GitHub
parent
85d46a5270
commit
cefaeb583f
@@ -179,7 +179,7 @@ class mailing_xinputfile extends MailingTargets
|
|||||||
{
|
{
|
||||||
$i++;
|
$i++;
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
$msg = $langs->trans("ErrorFoundBadEmailInFile",$i,$cpt,$email);
|
$msg = $langs->trans("ErrorFoundBadEmailInFile", $i, $cpt, $email);
|
||||||
if (!empty($msg)) $this->error = $msg;
|
if (!empty($msg)) $this->error = $msg;
|
||||||
else $this->error = 'ErrorFoundBadEmailInFile '.$i.' '.$cpt.' '.$email; // We experience case where $langs->trans return an empty string.
|
else $this->error = 'ErrorFoundBadEmailInFile '.$i.' '.$cpt.' '.$email; // We experience case where $langs->trans return an empty string.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user