Update sms.php

This commit is contained in:
Frédéric FRANCE 2015-12-13 21:12:08 +01:00
parent dc6ec91b2c
commit 65cebe37f3

View File

@ -124,10 +124,12 @@ if ($action == 'send' && ! $_POST['cancel'])
if ($result)
{
setEventMessages($langs->trans("SmsSuccessfulySent",$smsfrom,$sendto), null, 'mesgs');
setEventMessages($smsfile->error, $smsfile->errors, 'mesgs');
}
else
{
setEventMessages($langs->trans("ResultKo"), null, 'errors');
setEventMessages($smsfile->error, $smsfile->errors, 'errors');
}
$action='';