Update xinputfile.modules.php
This commit is contained in:
parent
1237a6d3e9
commit
85d46a5270
@ -181,6 +181,7 @@ class mailing_xinputfile extends MailingTargets
|
|||||||
$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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user