Standardize and update code
This commit is contained in:
parent
90644222d8
commit
8efe98b993
@ -46,11 +46,8 @@ if (! empty($conf->contrat->enabled)) {
|
|||||||
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formcontract.class.php';
|
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formcontract.class.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Load translation files required by the page
|
||||||
$langs->load('bills');
|
$langs->loadLangs(array("interventions","admin","compta","bills"));
|
||||||
$langs->load('compta');
|
|
||||||
$langs->load('admin');
|
|
||||||
$langs->load("interventions");
|
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
$id=(GETPOST('fichinterid', 'int')?GETPOST('fichinterid', 'int'):GETPOST('id', 'int'));
|
$id=(GETPOST('fichinterid', 'int')?GETPOST('fichinterid', 'int'):GETPOST('id', 'int'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user