Fix for multicompany users.
This commit is contained in:
parent
e269aa83b5
commit
7ad0a32559
@ -161,7 +161,7 @@ if ($resql)
|
||||
{
|
||||
if (! empty($conf->multicompany->enabled))
|
||||
{
|
||||
if ($obj->admin && ! $obj->entity)
|
||||
if (empty($obj->entity))
|
||||
{
|
||||
print ' ('.$langs->trans("AllEntities").')';
|
||||
}
|
||||
|
||||
@ -125,9 +125,11 @@ if ($result)
|
||||
print '<td width="1%"> </td>';
|
||||
print "</tr>\n";
|
||||
|
||||
//SearchBar
|
||||
// SearchBar
|
||||
$colspan=7;
|
||||
if (! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode)) $colspan++;
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td colspan="7"> </td>';
|
||||
print '<td colspan="'.$colspan.'"> </td>';
|
||||
|
||||
// Status
|
||||
print '<td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user