Update CMailFile.class.php

This commit is contained in:
Frédéric FRANCE 2018-04-04 15:58:24 +02:00 committed by GitHub
parent 2d3a55a6a8
commit fd6c1f129c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -776,7 +776,8 @@ class CMailFile
dol_syslog("CMailFile::sendfile: mail end error=".$this->error, LOG_ERR);
$res=false;
} else {
$this->error = sprintf ("Sent %d messages\n", $result);
$this->error = $langs->trans("SentXXXmessages", $result);
$this->errors[] = $langs->trans("SentXXXmessages", $result);
}
}
else