Fix can use actionmsg for generic trigger

This commit is contained in:
Laurent Destailleur 2018-05-17 17:58:29 +02:00
parent a23d1f6b82
commit a279451241
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ function limitChars(textarea, limit, infodiv)
else
{
$sms = new stdClass();
$sms->error='The SMS manager '.$classfile.' defined into SMS setup MAIN_SMS_SENDMODE is not found';
$sms->error='The SMS manager "'.$classfile.'" defined into SMS setup MAIN_SMS_SENDMODE is not found';
}
}
catch(Exception $e)

View File

@ -809,7 +809,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
$langs->load("other");
if (empty($object->actionmsg2)) $object->actionmsg2=$langs->transnoentities($action."InDolibarr",$object->ref);
$object->actionmsg=$langs->transnoentities($action."InDolibarr",$object->ref);
if (empty($object->actionmsg)) $object->actionmsg=$langs->transnoentities($action."InDolibarr",$object->ref);
$object->sendtoid=0;
}