Fix remove warning
This commit is contained in:
parent
9d0cd148a8
commit
c707c899c1
@ -94,7 +94,7 @@ function societe_prepare_head(Societe $object)
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
// Tab to link resources
|
// Tab to link resources
|
||||||
if ($conf->resource->enabled && ! empty($conf->global->RESOURCE_ON_THIRDPARTIES))
|
if (! empty($conf->resource->enabled) && ! empty($conf->global->RESOURCE_ON_THIRDPARTIES))
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/resource/element_resource.php?element=societe&element_id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/resource/element_resource.php?element=societe&element_id='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("Resources");
|
$head[$h][1] = $langs->trans("Resources");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user