From 2297e940b38b656dcdc303362a16935e82b4702e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 31 Mar 2011 19:41:03 +0000 Subject: [PATCH] Fix: last modification for multicompany --- htdocs/main.inc.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f52c3cd0ef6..03e7aabb78b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1144,12 +1144,8 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a if ($res) { - //$mc = new ActionsMulticompany($db); - $entitytext = img_object('', 'globe',"class='entity'"); - $entityhtmltext = 'EntityName'; - print $html->textwithtooltip('',$entityhtmltext,2,1,$entitytext,'',1); - //$select_entity = '
'.$mc->select_entities($conf->entity).'
'; - //if ($mc->numEntity >= 1) print $select_entity; + $mc = new ActionsMulticompany($db); + $mc->showInfo($conf->entity); } } }