Fix phpcs
This commit is contained in:
parent
816acaa4c2
commit
1d0c0a8d2a
@ -111,16 +111,16 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
$object->sendtoid = 0;
|
$object->sendtoid = 0;
|
||||||
$object->socid = $object->id;
|
$object->socid = $object->id;
|
||||||
} elseif ($action == 'COMPANY_MODIFY') {
|
} elseif ($action == 'COMPANY_MODIFY') {
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("agenda", "other", "companies"));
|
$langs->loadLangs(array("agenda", "other", "companies"));
|
||||||
|
|
||||||
if (empty($object->actionmsg2)) {
|
if (empty($object->actionmsg2)) {
|
||||||
$object->actionmsg2 = $langs->transnoentities("COMPANY_MODIFYInDolibarr", $object->name);
|
$object->actionmsg2 = $langs->transnoentities("COMPANY_MODIFYInDolibarr", $object->name);
|
||||||
}
|
}
|
||||||
$object->actionmsg = $langs->transnoentities("COMPANY_MODIFYInDolibarr", $object->name);
|
$object->actionmsg = $langs->transnoentities("COMPANY_MODIFYInDolibarr", $object->name);
|
||||||
|
|
||||||
$object->sendtoid = 0;
|
$object->sendtoid = 0;
|
||||||
$object->socid = $object->id;
|
$object->socid = $object->id;
|
||||||
} elseif ($action == 'COMPANY_SENTBYMAIL') {
|
} elseif ($action == 'COMPANY_SENTBYMAIL') {
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("agenda", "other", "orders"));
|
$langs->loadLangs(array("agenda", "other", "orders"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user