Skip to content

Commit

Permalink
Fix add option to restore backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 21, 2019
1 parent ed7480d commit b06dab6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/lib/company.lib.php
Expand Up @@ -172,7 +172,8 @@ function societe_prepare_head(Societe $object)
}

// Related items
if (! empty($conf->commande->enabled) || ! empty($conf->propal->enabled) || ! empty($conf->facture->enabled) || ! empty($conf->ficheinter->enabled) || ! empty($conf->fournisseur->enabled))
if ((! empty($conf->commande->enabled) || ! empty($conf->propal->enabled) || ! empty($conf->facture->enabled) || ! empty($conf->ficheinter->enabled) || ! empty($conf->fournisseur->enabled))
&& empty($conf->global->THIRPARTIES_DISABLE_RELATED_OBJECT_TAB))
{
$head[$h][0] = DOL_URL_ROOT.'/societe/consumption.php?socid='.$object->id;
$head[$h][1] = $langs->trans("Referers");
Expand Down

0 comments on commit b06dab6

Please sign in to comment.