Fix phpcs
This commit is contained in:
parent
2e1eb29ca0
commit
f3703c8805
@ -73,16 +73,17 @@ $arrayfields=array(
|
|||||||
if (empty($conf->comptabilite->enabled) && empty($conf->accounting->enabled)) {
|
if (empty($conf->comptabilite->enabled) && empty($conf->accounting->enabled)) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
if ($user->societe_id > 0)
|
if ($user->societe_id > 0) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
}
|
||||||
|
|
||||||
|
$entity = GETPOST('entity', 'int')?GETPOST('entity', 'int'):$conf->entity;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$entity = GETPOST('entity','int')?GETPOST('entity','int'):$conf->entity;
|
|
||||||
|
|
||||||
//$parameters = array('socid' => $id);
|
//$parameters = array('socid' => $id);
|
||||||
//$reshook = $hookmanager->executeHooks('doActions', $parameters, $object); // Note that $object may have been modified by some hooks
|
//$reshook = $hookmanager->executeHooks('doActions', $parameters, $object); // Note that $object may have been modified by some hooks
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user