diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index dfaf425380c..0e568a8443f 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -1772,7 +1772,10 @@ else print '
'; // Contacts list - $result=show_contacts($conf,$langs,$db,$soc); + if (empty($conf->global->SOCIETE_DISABLE_CONTACTS)) + { + $result=show_contacts($conf,$langs,$db,$soc); + } // Projects list $result=show_projects($conf,$langs,$db,$soc);