Skip to content

Commit

Permalink
Fix remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 26, 2015
1 parent 9d0cd14 commit c707c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/company.lib.php
Expand Up @@ -94,7 +94,7 @@ function societe_prepare_head(Societe $object)
}*/

// 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][1] = $langs->trans("Resources");
Expand Down

0 comments on commit c707c89

Please sign in to comment.