diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index d388e712670..8831ead1728 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -1378,7 +1378,8 @@ else print ''; } - if ($soc->fournisseur) { + if ($conf->fournisseur->enabled && $soc->fournisseur) + { print ''; print $langs->trans('SupplierCode').''; print $soc->code_fournisseur;