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

Fix: select entity view

parent e82f6896
No related branches found
No related tags found
No related merge requests found
......@@ -485,7 +485,7 @@ function dol_loginfunction2($langs,$conf,$mysoc)
$mc = new Multicompany($db);
$mc->getEntities();
$smarty->assign('entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
$smarty->assign('select_entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
}
// Security graphical code
......
......@@ -69,12 +69,12 @@
</ul>
{if $entity}
{if $select_entity}
<span class="graytitle">{$langs->trans('Entity')}</span>
<ul class="pageitem">
<li class="form">
{$entity}
<span class="arrow" />
{$select_entity}
<span class="arrow"></span>
</li>
</ul>
{/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment