Fix can use actionmsg for generic trigger
This commit is contained in:
parent
a23d1f6b82
commit
a279451241
@ -213,7 +213,7 @@ function limitChars(textarea, limit, infodiv)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sms = new stdClass();
|
$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)
|
catch(Exception $e)
|
||||||
|
|||||||
@ -809,7 +809,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
$langs->load("other");
|
$langs->load("other");
|
||||||
|
|
||||||
if (empty($object->actionmsg2)) $object->actionmsg2=$langs->transnoentities($action."InDolibarr",$object->ref);
|
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;
|
$object->sendtoid=0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user