Fix: bad post

This commit is contained in:
Regis Houssin 2011-04-01 15:27:34 +00:00
parent 6c2b1f5244
commit 8cbdcb9c20

View File

@ -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;