diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index b31607c1d60..4427ac9261a 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5268,8 +5268,9 @@ class Form
$disabled = false; $title = '';
if (is_object($societe_vendeuse) && $societe_vendeuse->id == $mysoc->id && $societe_vendeuse->tva_assuj == "0")
{
- // Override/enable VAT for expense report regardless of global setting - needed if expense report used for business expenses
- if (empty($conf->global->OVERRIDE_VAT_FOR_EXPENSE_REPORT))
+ // Override/enable VAT for expense report regardless of global setting - needed if expense report used for business expenses instead
+ // of using supplier invoices (this is a very bad idea !)
+ if (empty($conf->global->EXPENSEREPORT_OVERRIDE_VAT))
{
$title = ' title="'.$langs->trans('VATIsNotUsed').'"';
$disabled = true;