From ee7e8d8b152fc74ee304ce4d7d392905eb8c7508 Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Sat, 2 Oct 2010 07:19:07 +0000 Subject: [PATCH] Works on multi-company module --- htdocs/user/passwordforgotten.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index 33a04ec0121..8b76d82bc37 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -211,12 +211,11 @@ if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) $rowspan++; // Entity field 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; - $mc = new Multicompany($db); - $mc->getEntities(); + $mc = new ActionsMulticompany($db); $select_entity = $mc->select_entities($mc->entities,$conf->entity,'tabindex="2"'); } -- GitLab