Fix: Should works for everybody like that
This commit is contained in:
parent
4065b52441
commit
eb964e6436
@ -140,9 +140,11 @@ if ($result)
|
||||
else
|
||||
{
|
||||
// $mc is defined in conf.class.php if multicompany enabled.
|
||||
// remove constante MAIN_MODULE_MULTICOMPANY if you have an error.
|
||||
$mc->getInfo($obj->entity);
|
||||
print $mc->label;
|
||||
if (is_object($mc))
|
||||
{
|
||||
$mc->getInfo($obj->entity);
|
||||
print $mc->label;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ($obj->ldap_sid)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user