diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 2c8226155d7..40bcfd98198 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -797,23 +797,27 @@ else
$s='';
$s.=$conf->global->MAIN_INFO_TVAINTRA;
$s.='';
- $s.=' ';
- if ($conf->use_javascript_ajax)
+ if (empty($conf->global->MAIN_DISABLEVATCHECK))
{
- print "\n";
- print '';
- print "\n";
- $s.=''.$langs->trans("VATIntraCheck").'';
- print $form->textwithpicto($s,$langs->trans("VATIntraCheckDesc",$langs->trans("VATIntraCheck")),1);
- }
- else
- {
- print $s.'id_pays).'" target="_blank">'.img_picto($langs->trans("VATIntraCheckableOnEUSite"),'help').'';
+ $s.=' ';
+ if ($conf->use_javascript_ajax)
+ {
+ print "\n";
+ print '';
+ print "\n";
+ $s.=''.$langs->trans("VATIntraCheck").'';
+ $s = $form->textwithpicto($s,$langs->trans("VATIntraCheckDesc",$langs->trans("VATIntraCheck")),1);
+ }
+ else
+ {
+ $s.='id_pays).'" target="_blank">'.img_picto($langs->trans("VATIntraCheckableOnEUSite"),'help').'';
+ }
}
+ print $s;
}
else
{