Update sms.php
This commit is contained in:
parent
dc6ec91b2c
commit
65cebe37f3
@ -124,10 +124,12 @@ if ($action == 'send' && ! $_POST['cancel'])
|
|||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
setEventMessages($langs->trans("SmsSuccessfulySent",$smsfrom,$sendto), null, 'mesgs');
|
setEventMessages($langs->trans("SmsSuccessfulySent",$smsfrom,$sendto), null, 'mesgs');
|
||||||
|
setEventMessages($smsfile->error, $smsfile->errors, 'mesgs');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessages($langs->trans("ResultKo"), null, 'errors');
|
setEventMessages($langs->trans("ResultKo"), null, 'errors');
|
||||||
|
setEventMessages($smsfile->error, $smsfile->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
$action='';
|
$action='';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user