Skip to content
Snippets Groups Projects
Commit ee7e8d8b authored by Regis Houssin's avatar Regis Houssin
Browse files

Works on multi-company module

parent 9a252af8
No related branches found
No related tags found
No related merge requests found
...@@ -211,12 +211,11 @@ if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) $rowspan++; ...@@ -211,12 +211,11 @@ if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) $rowspan++;
// Entity field // Entity field
if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY) && ! $disabled) if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY) && ! $disabled)
{ {
require_once(DOL_DOCUMENT_ROOT.'/multicompany/class/multicompany.class.php'); require_once(DOL_DOCUMENT_ROOT.'/multicompany/class/actions_multicompany.class.php');
global $db; global $db;
$mc = new Multicompany($db); $mc = new ActionsMulticompany($db);
$mc->getEntities();
$select_entity = $mc->select_entities($mc->entities,$conf->entity,'tabindex="2"'); $select_entity = $mc->select_entities($mc->entities,$conf->entity,'tabindex="2"');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment