diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index ab9027395c9206dde1176c899ee9b76baa80b5da..05ada4a157b5d26d91f514999af8fb8071bd0ac9 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1138,7 +1138,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
 			if ($res)
 			{
 				//$mc = new ActionsMulticompany($db);
-				$entitytext = img_object('', 'globe','entity');
+				$entitytext = img_object('', 'globe',"class='entity'");
 				$entityhtmltext = 'EntityName';
 				print $html->textwithtooltip('',$entityhtmltext,2,1,$entitytext);
 				//$select_entity = '<div class="loginSelectEntity">'.$mc->select_entities($conf->entity).'</div>';