Fix: bad post
This commit is contained in:
parent
6c2b1f5244
commit
8cbdcb9c20
@ -761,7 +761,7 @@ if (!empty($conf->global->MAIN_MODULE_MULTICOMPANY))
|
||||
|
||||
$mc = new ActionsMulticompany($db);
|
||||
|
||||
if($mc->switchEntity(GETPOST('entity_id')) > 0)
|
||||
if($mc->switchEntity(GETPOST('entity')) > 0)
|
||||
{
|
||||
Header("Location: ".DOL_URL_ROOT.'/');
|
||||
exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user