Fixed: label
This commit is contained in:
parent
5ead994955
commit
d8557d8af0
@ -1197,7 +1197,7 @@ class Form
|
|||||||
else $sql.= " WHERE u.entity IS NOT NULL";
|
else $sql.= " WHERE u.entity IS NOT NULL";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (! empty($conf->multicompany->transverse_mode))
|
if (! empty($conf->multicompany->transverse_mode))
|
||||||
{
|
{
|
||||||
$sql.= ", ".MAIN_DB_PREFIX."usergroup_user as ug";
|
$sql.= ", ".MAIN_DB_PREFIX."usergroup_user as ug";
|
||||||
@ -1291,7 +1291,7 @@ class Form
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$out.=($moreinfo?' - ':' (').$obj->label;
|
$out.=($moreinfo?' - ':' (').($obj->label?$obj->label:$langs->trans("EntityNameNotDefined"));
|
||||||
$moreinfo++;
|
$moreinfo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user