Fix: Should works for everybody like that

This commit is contained in:
Laurent Destailleur 2012-09-17 22:08:41 +02:00
parent 4065b52441
commit eb964e6436

View File

@ -140,9 +140,11 @@ if ($result)
else else
{ {
// $mc is defined in conf.class.php if multicompany enabled. // $mc is defined in conf.class.php if multicompany enabled.
// remove constante MAIN_MODULE_MULTICOMPANY if you have an error. if (is_object($mc))
$mc->getInfo($obj->entity); {
print $mc->label; $mc->getInfo($obj->entity);
print $mc->label;
}
} }
} }
else if ($obj->ldap_sid) else if ($obj->ldap_sid)